diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-09-12 02:42:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-09-12 02:42:49 +0000 |
commit | 7b63ff76837b7f0c0c375b30ed9913a3c3bae8a5 (patch) | |
tree | ba37964cdafbeab6cfcb92a7e07387669632556e /ld/scripttempl | |
parent | 54d478cdbad17a305f2684184a9999cc137ce529 (diff) | |
download | gdb-7b63ff76837b7f0c0c375b30ed9913a3c3bae8a5.zip gdb-7b63ff76837b7f0c0c375b30ed9913a3c3bae8a5.tar.gz gdb-7b63ff76837b7f0c0c375b30ed9913a3c3bae8a5.tar.bz2 |
* config/i386lynx.mh: New file.
* scripttempl/i386lynx.sc: Don't put .ctors and .dtors in .text
unless CONSTRUCTING.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/i386lynx.sc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/i386lynx.sc b/ld/scripttempl/i386lynx.sc index 9d344b2..16b72a4 100644 --- a/ld/scripttempl/i386lynx.sc +++ b/ld/scripttempl/i386lynx.sc @@ -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) |