From 877d60f7bc7acb9ca25e8d88963394606e803b9c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 14 Apr 2003 13:03:17 +0000 Subject: * 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. --- ld/scripttempl/mmo.sc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ld/scripttempl/mmo.sc') diff --git a/ld/scripttempl/mmo.sc b/ld/scripttempl/mmo.sc index 72e8b49..b93953d 100644 --- a/ld/scripttempl/mmo.sc +++ b/ld/scripttempl/mmo.sc @@ -29,8 +29,8 @@ SECTIONS ${RELOCATING+ PROVIDE (__ctors_start = .);} ${RELOCATING+ PROVIDE (_ctors = .);} ${RELOCATING+ PROVIDE (__ctors = .);} - ${RELOCATING+ KEEP (*crtbegin.o(.ctors))} - ${RELOCATING+ KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))} + ${RELOCATING+ KEEP (*crtbegin*.o(.ctors))} + ${RELOCATING+ KEEP (*(EXCLUDE_FILE (*crtend*.o) .ctors))} ${RELOCATING+ KEEP (*(SORT(.ctors.*)))} ${RELOCATING+ KEEP (*(.ctors))} ${RELOCATING+ PROVIDE (_ctors_end = .);} @@ -40,8 +40,8 @@ SECTIONS ${RELOCATING+ PROVIDE (__dtors_start = .);} ${RELOCATING+ PROVIDE (_dtors = .);} ${RELOCATING+ PROVIDE (__dtors = .);} - ${RELOCATING+ KEEP (*crtbegin.o(.dtors))} - ${RELOCATING+ KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))} + ${RELOCATING+ KEEP (*crtbegin*.o(.dtors))} + ${RELOCATING+ KEEP (*(EXCLUDE_FILE (*crtend*.o) .dtors))} ${RELOCATING+ KEEP (*(SORT(.dtors.*)))} ${RELOCATING+ KEEP (*(.dtors))} ${RELOCATING+ PROVIDE (_dtors_end = .);} -- cgit v1.1