Add .fixup section
This commit is contained in:
parent
3f4ca87446
commit
d513119138
@ -1,3 +1,8 @@
|
||||
Thu Jun 22 15:06:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
|
||||
|
||||
* scripttempl/elfppc.sc (.fixup): Add support for a .fixup section
|
||||
that contains pointers to be relocated.
|
||||
|
||||
Tue Jun 20 17:47:20 1995 Stan Shebs <shebs@andros.cygnus.com>
|
||||
|
||||
* mpw-esh.c: New file, modified for MPW from esh.c.
|
||||
|
@ -105,7 +105,7 @@ SECTIONS
|
||||
${RELOCATING+_GOT1_END_ = .;}
|
||||
|
||||
/* Put .ctors and .dtors next to the .got2 section, so that the pointers
|
||||
get relocated with -mrelocatable. */
|
||||
get relocated with -mrelocatable. Also put in the .fixup pointers. */
|
||||
|
||||
${RELOCATING+_GOT2_START_ = .;}
|
||||
.got2 ${RELOCATING-0} : { *(.got2) }
|
||||
@ -118,6 +118,9 @@ SECTIONS
|
||||
.dtors ${RELOCATING-0} : { *(.dtors) }
|
||||
${RELOCATING+__DTOR_END__ = .;}
|
||||
|
||||
${RELOCATING+_FIXUP_START_ = .;}
|
||||
.fixup ${RELOCATING-0} : { *(.fixup) }
|
||||
${RELOCATING+_FIXUP_END_ = .;}
|
||||
${RELOCATING+_GOT2_END_ = .;}
|
||||
|
||||
${RELOCATING+_GOT_START_ = .;}
|
||||
|
Loading…
Reference in New Issue
Block a user