From: Ian Lance Taylor Date: Mon, 11 Apr 1994 16:35:39 +0000 (+0000) Subject: * scripttempl/i386coff.sc: If relocating, don't put .init and X-Git-Tag: gdb-4_18~14839 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f2ee9580182a0bae5cd6b2d49cefa682fd8b7b4;p=external%2Fbinutils.git * scripttempl/i386coff.sc: If relocating, don't put .init and .fini sections into .text; keep them separate. * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not exist, get crtbegin based on gcc -print-libgcc-file-name. (HOSTING_LIBS): Similar change for ../gcc/crtend.o. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index ef81d98..1de4228 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +Mon Apr 11 12:32:57 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * scripttempl/i386coff.sc: If relocating, don't put .init and + .fini sections into .text; keep them separate. + * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not + exist, get crtbegin based on gcc -print-libgcc-file-name. + (HOSTING_LIBS): Similar change for ../gcc/crtend.o. + Wed Apr 6 00:09:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu) * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the diff --git a/ld/config/i386sco.mh b/ld/config/i386sco.mh index 2646840..bf1a282 100644 --- a/ld/config/i386sco.mh +++ b/ld/config/i386sco.mh @@ -1,4 +1,4 @@ # For testing, we want to use /lib/crt1.o and /lib/crtn.o so that # constructors work properly. -HOSTING_CRT0=/lib/crt1.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; fi` -HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; fi` /lib/crtn.o +HOSTING_CRT0=/lib/crt1.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtbegin.o/'; fi` +HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtend.o/'; fi` /lib/crtn.o