summaryrefslogtreecommitdiff
path: root/gcc/make-l2.com
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-08-13 21:28:35 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-08-13 21:28:35 +0000
commit12c833601ac7429480810221c17762a249e7b326 (patch)
tree0b9068ff5f3b55f81d901da02e2929e636469cb0 /gcc/make-l2.com
parentf184e651faa9fe835410941c9f35703d5eb43afd (diff)
downloadgcc-12c833601ac7429480810221c17762a249e7b326.tar.gz
Assemble libgcc2 routines twice, preserving
lowercase function names the second time. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1817 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/make-l2.com')
-rw-r--r--gcc/make-l2.com8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/make-l2.com b/gcc/make-l2.com
index 736377ba0ba..22bfde9951e 100644
--- a/gcc/make-l2.com
+++ b/gcc/make-l2.com
@@ -60,7 +60,7 @@ $if flnm.eqs." " then goto loop
$!
$flnm = "L"+flnm
$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
$if flnm.eqs."L_builtin_New" then objname = "L_builtin_nnew"
@@ -73,10 +73,12 @@ $ gcc_cc1 'cpp_file' -dumpbase 'objname' -
-quiet -mgnu -g "-O1" -mvaxc-alignment -o 's_file'
$ delete/nolog 'cpp_file';
$ 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';
$!
-$lib libgcc2.olb 'objname'.obj
-$del 'objname'.obj;/nolog
+$ library libgcc2.olb 'objname'.obj,'objname'-c.obj
+$ delete/nolog 'objname'.obj;,'objname'-c.obj;
$!
$goto loop1
$!