Commit b47bae41 by Richard Stallman

Assemble libgcc2 routines twice, preserving

lowercase function names the second time.

From-SVN: r1817
parent 882ed710
...@@ -60,7 +60,7 @@ $if flnm.eqs." " then goto loop ...@@ -60,7 +60,7 @@ $if flnm.eqs." " then goto loop
$! $!
$flnm = "L"+flnm $flnm = "L"+flnm
$if flnm.eqs."L_exit" then goto loop1 $if flnm.eqs."L_exit" then goto loop1
$write sys$output "$ gcc/debug/define=''flnm' LIBGCC2.C" $write sys$output "$ gcc/debug/define=""''flnm'"" LIBGCC2.C"
$! $!
$objname = flnm $objname = flnm
$if flnm.eqs."L_builtin_New" then objname = "L_builtin_nnew" $if flnm.eqs."L_builtin_New" then objname = "L_builtin_nnew"
...@@ -73,10 +73,12 @@ $ gcc_cc1 'cpp_file' -dumpbase 'objname' - ...@@ -73,10 +73,12 @@ $ gcc_cc1 'cpp_file' -dumpbase 'objname' -
-quiet -mgnu -g "-O1" -mvaxc-alignment -o 's_file' -quiet -mgnu -g "-O1" -mvaxc-alignment -o 's_file'
$ delete/nolog 'cpp_file'; $ delete/nolog 'cpp_file';
$ gcc_as "-vGNU CC V''Version'" 's_file' -o 'objname'.OBJ $ gcc_as "-vGNU CC V''Version'" 's_file' -o 'objname'.OBJ
$! Assemble again, preserving lowercase symbol names this time.
$ gcc_as "-vGNU CC V''Version'" -h3 's_file' -o 'objname'-c.OBJ
$ delete/nolog 's_file'; $ delete/nolog 's_file';
$! $!
$lib libgcc2.olb 'objname'.obj $ library libgcc2.olb 'objname'.obj,'objname'-c.obj
$del 'objname'.obj;/nolog $ delete/nolog 'objname'.obj;,'objname'-c.obj;
$! $!
$goto loop1 $goto loop1
$! $!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment