diff options
author | Alan Modra <amodra@gmail.com> | 2003-04-14 13:03:17 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-04-14 13:03:17 +0000 |
commit | 877d60f7bc7acb9ca25e8d88963394606e803b9c (patch) | |
tree | fe02fb5fa1d41c20edd797b4771a726230c724a8 /ld/scripttempl/xstormy16.sc | |
parent | f7661995e805fa60fb459cf23287a67fb21247a8 (diff) | |
download | gdb-877d60f7bc7acb9ca25e8d88963394606e803b9c.zip gdb-877d60f7bc7acb9ca25e8d88963394606e803b9c.tar.gz gdb-877d60f7bc7acb9ca25e8d88963394606e803b9c.tar.bz2 |
* scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
other variants of crtbegin.o, crtend.o.
(DTOR): Likewise.
* scripttempl/crisaout.sc (ctors, dtors): Likewise.
* scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
* scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
* scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
* scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
* scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
* scripttempl/mmo.sc (ctors, dtors): Likewise.
* scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
Diffstat (limited to 'ld/scripttempl/xstormy16.sc')
-rw-r--r-- | ld/scripttempl/xstormy16.sc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/scripttempl/xstormy16.sc b/ld/scripttempl/xstormy16.sc index 8981f2d..94f6093 100644 --- a/ld/scripttempl/xstormy16.sc +++ b/ld/scripttempl/xstormy16.sc @@ -68,14 +68,14 @@ CTOR=".ctors ${CONSTRUCTING-0} : doesn't matter which directory crtbegin.o is in. */ - KEEP (*crtbegin.o(.ctors)) + KEEP (*crtbegin*.o(.ctors)) /* We don't want to include the .ctor section from from the crtend.o file until after the sorted ctors. The .ctor section from the crtend file contains the end of ctors marker and it must be last */ - KEEP (*(EXCLUDE_FILE (*crtend.o $OTHER_EXCLUDE_FILES) .ctors)) + KEEP (*(EXCLUDE_FILE (*crtend*.o $OTHER_EXCLUDE_FILES) .ctors)) KEEP (*(SORT(.ctors.*))) KEEP (*(.ctors)) ${CONSTRUCTING+${CTOR_END}} @@ -84,8 +84,8 @@ CTOR=".ctors ${CONSTRUCTING-0} : DTOR=" .dtors ${CONSTRUCTING-0} : { ${CONSTRUCTING+${DTOR_START}} - KEEP (*crtbegin.o(.dtors)) - KEEP (*(EXCLUDE_FILE (*crtend.o $OTHER_EXCLUDE_FILES) .dtors)) + KEEP (*crtbegin*.o(.dtors)) + KEEP (*(EXCLUDE_FILE (*crtend*.o $OTHER_EXCLUDE_FILES) .dtors)) KEEP (*(SORT(.dtors.*))) KEEP (*(.dtors)) ${CONSTRUCTING+${DTOR_END}} |