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/crisaout.sc | |
parent | f7661995e805fa60fb459cf23287a67fb21247a8 (diff) | |
download | fsf-binutils-gdb-877d60f7bc7acb9ca25e8d88963394606e803b9c.zip fsf-binutils-gdb-877d60f7bc7acb9ca25e8d88963394606e803b9c.tar.gz fsf-binutils-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/crisaout.sc')
-rw-r--r-- | ld/scripttempl/crisaout.sc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/scripttempl/crisaout.sc b/ld/scripttempl/crisaout.sc index c729668..acdca7a 100644 --- a/ld/scripttempl/crisaout.sc +++ b/ld/scripttempl/crisaout.sc @@ -48,15 +48,15 @@ SECTIONS /* Cater to linking from ELF. */ ${CONSTRUCTING+ PROVIDE(___ctors = .);} ${CONSTRUCTING+ ___elf_ctors_dtors_begin = .;} - ${CONSTRUCTING+ KEEP (*crtbegin.o(.ctors))} - ${CONSTRUCTING+ KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))} + ${CONSTRUCTING+ KEEP (*crtbegin*.o(.ctors))} + ${CONSTRUCTING+ KEEP (*(EXCLUDE_FILE (*crtend*.o) .ctors))} ${CONSTRUCTING+ KEEP (*(SORT(.ctors.*)))} ${CONSTRUCTING+ KEEP (*(.ctors))} ${CONSTRUCTING+ PROVIDE(___ctors_end = .);} ${CONSTRUCTING+ PROVIDE(___dtors = .);} - ${CONSTRUCTING+ KEEP (*crtbegin.o(.dtors))} - ${CONSTRUCTING+ KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))} + ${CONSTRUCTING+ KEEP (*crtbegin*.o(.dtors))} + ${CONSTRUCTING+ KEEP (*(EXCLUDE_FILE (*crtend*.o) .dtors))} ${CONSTRUCTING+ KEEP (*(SORT(.dtors.*)))} ${CONSTRUCTING+ KEEP (*(.dtors))} ${CONSTRUCTING+ PROVIDE(___dtors_end = .);} |