diff options
author | 2003-09-20 04:24:44 +0000 | |
---|---|---|
committer | 2003-09-20 04:24:44 +0000 | |
commit | d7d5667cbae3562709dbd23240a7f5f4db8915ce (patch) | |
tree | e832a95b992301454e9d93ebe694e672d0eff801 | |
parent | knf (diff) | |
download | wireguard-openbsd-d7d5667cbae3562709dbd23240a7f5f4db8915ce.tar.xz wireguard-openbsd-d7d5667cbae3562709dbd23240a7f5f4db8915ce.zip |
powerpc ld.so has a slightly unreasonable expectation about __got_start
and the location of the GOT. reorder GOT and the CTOR/DTOR section.
-rw-r--r-- | gnu/usr.bin/binutils/ld/scripttempl/elf.sc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/ld/scripttempl/elf.sc b/gnu/usr.bin/binutils/ld/scripttempl/elf.sc index 4fb30fde409..a3451eed7f4 100644 --- a/gnu/usr.bin/binutils/ld/scripttempl/elf.sc +++ b/gnu/usr.bin/binutils/ld/scripttempl/elf.sc @@ -323,10 +323,10 @@ SECTIONS ${DATA_PLT+${PLT}} ${DATA_PLT+${PAD_PLT+${PAD_PLT1}}} ${PAD_GOT+${PAD_GOT0}} - ${RELOCATING+${CTOR}} - ${RELOCATING+${DTOR}} ${RELOCATING+${OTHER_GOT_SYMBOLS}} .got ${RELOCATING-0} : { *(.got.plt) *(.got) } + ${RELOCATING+${CTOR}} + ${RELOCATING+${DTOR}} ${PAD_GOT+${PAD_GOT1}} ${CREATE_SHLIB+${SDATA2}} |