* config/i386lynx.mh: New file.
* scripttempl/i386lynx.sc: Don't put .ctors and .dtors in .text unless CONSTRUCTING.
This commit is contained in:
parent
54d478cdba
commit
7b63ff7683
@ -1,3 +1,9 @@
|
||||
Sat Sep 10 16:05:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||
|
||||
* config/i386lynx.mh: New file.
|
||||
* scripttempl/i386lynx.sc: Don't put .ctors and .dtors in .text
|
||||
unless CONSTRUCTING.
|
||||
|
||||
Thu Sep 8 13:25:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
||||
|
||||
* emulparams/elf32mipb.sh (TEMPLATE_NAME): Define as elf32.
|
||||
|
2
ld/config/i386lynx.mh
Normal file
2
ld/config/i386lynx.mh
Normal file
@ -0,0 +1,2 @@
|
||||
HOSTING_CRT0=/lib/init1.o
|
||||
HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc -lm /lib/initn.o
|
@ -13,12 +13,12 @@ SECTIONS
|
||||
${RELOCATING+ etext = .;}
|
||||
${CONSTRUCTING+ __CTOR_LIST__ = .;}
|
||||
${CONSTRUCTING+ LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)}
|
||||
*(.ctors)
|
||||
${CONSTRUCTING+ *(.ctors)}
|
||||
${CONSTRUCTING+ LONG(0)}
|
||||
${CONSTRUCTING+ __CTOR_END__ = .;}
|
||||
${CONSTRUCTING+ __DTOR_LIST__ = .;}
|
||||
${CONSTRUCTING+ LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)}
|
||||
*(.dtors)
|
||||
${CONSTRUCTING+ *(.dtors)}
|
||||
${CONSTRUCTING+ LONG(0)}
|
||||
${CONSTRUCTING+ __DTOR_END__ = .;}
|
||||
*(.fini)
|
||||
|
Loading…
Reference in New Issue
Block a user