From: Michael Meissner Date: Fri, 5 Jan 1996 17:27:39 +0000 (+0000) Subject: Move creating section begin/end labels to compiler crt{i,n}.o X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9dee2948a2fb4693207e26cd615f572ca3a1efd7;p=binutils-gdb.git Move creating section begin/end labels to compiler crt{i,n}.o --- diff --git a/ld/ChangeLog b/ld/ChangeLog index dece9c08127..3e30e9aebb0 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +Fri Jan 5 12:25:47 1996 Michael Meissner + + * scripttempl/elfppc.sc: Remove support for creating special + labels for eabi section begin/end here. The compiler now uses + crt{i,n}.o to create these symbols. + Thu Jan 4 17:08:58 1996 Ian Lance Taylor * configure.host: Change existing Linux HOSTING_CRT0 to be used diff --git a/ld/scripttempl/elfppc.sc b/ld/scripttempl/elfppc.sc index 13704659303..2b47af86bb8 100644 --- a/ld/scripttempl/elfppc.sc +++ b/ld/scripttempl/elfppc.sc @@ -100,36 +100,20 @@ SECTIONS .data1 ${RELOCATING-0} : { *(.data1) } ${RELOCATING+${OTHER_READWRITE_SECTIONS}} - ${RELOCATING+_GOT1_START_ = .;} .got1 ${RELOCATING-0} : { *(.got1) } - ${RELOCATING+_GOT1_END_ = .;} - .dynamic ${RELOCATING-0} : { *(.dynamic) } /* Put .ctors and .dtors next to the .got2 section, so that the pointers get relocated with -mrelocatable. Also put in the .fixup pointers. */ - ${RELOCATING+_GOT2_START_ = .;} .got2 ${RELOCATING-0} : { *(.got2) } - - ${RELOCATING+__CTOR_LIST__ = .;} .ctors ${RELOCATING-0} : { *(.ctors) } - ${RELOCATING+__CTOR_END__ = .;} - - ${RELOCATING+__DTOR_LIST__ = .;} .dtors ${RELOCATING-0} : { *(.dtors) } - ${RELOCATING+__DTOR_END__ = .;} - - ${RELOCATING+_FIXUP_START_ = .;} .fixup ${RELOCATING-0} : { *(.fixup) } - ${RELOCATING+_FIXUP_END_ = .;} - ${RELOCATING+_GOT2_END_ = .;} - ${RELOCATING+_GOT_START_ = .;} - ${RELOCATING+_GLOBAL_OFFSET_TABLE_ = . + 32768;} - ${RELOCATING+_SDA_BASE_ = . + 32768;} - .got ${RELOCATING-0} : { *(.got.plt) *(.got) } + .got ${RELOCATING-0} : { *(.got) *(.got.plt) } ${DATA_PLT+${PLT}} + /* We want the small data sections together, so single-instruction offsets can access them all, and initialized data all before uninitialized, so we can shorten the on-disk segment size. */