From: Richard Henderson Date: Wed, 2 Jun 1999 20:47:23 +0000 (+0000) Subject: Jason Merrill X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4305932a214c616b5be37859aa6fcfdce20d3e94;p=binutils-gdb.git Jason Merrill * scripttempl/v850.sc: Add initp support. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index c73a3dfe526..2a563fea071 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +1999-06-02 Jason Merrill + + * scripttempl/v850.sc: Add initp support. + 1999-06-02 Nick Clifton * emultempl/pe.em: Rename global arm interworking functions to diff --git a/ld/scripttempl/v850.sc b/ld/scripttempl/v850.sc index 6b2f7e54564..0a20954d65c 100644 --- a/ld/scripttempl/v850.sc +++ b/ld/scripttempl/v850.sc @@ -94,13 +94,17 @@ SECTIONS .data1 : { *(.data1) } .ctors : { ${RELOCATING+___ctors = .;} - KEEP (*(.ctors)) + KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors)) + KEEP (*(SORT(.ctors.*))) + KEEP (*crtend(.ctors)) ${RELOCATING+___ctors_end = .;} } .dtors : { ${RELOCATING+___dtors = .;} - KEEP (*(.dtors)) + KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors)) + KEEP (*(SORT(.dtors.*))) + KEEP (*crtend.o(.dtors)) ${RELOCATING+___dtors_end = .;} }