From be03dc3e37b31bfcdf86a2da1532e0fe8baef1a2 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Sat, 13 Jan 1996 14:44:48 +0000 Subject: [PATCH] Add .rela.got.neg section; remove .rel.* sections --- ld/ChangeLog | 5 +++++ ld/scripttempl/elfppc.sc | 45 +++++++++++++++------------------------- 2 files changed, 22 insertions(+), 28 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 180ec6f3742..3613f5fbee0 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +Sat Jan 13 09:41:43 1996 Michael Meissner + + * scripttempl/elfppc.sc: Remove support for .rel.* sections. Add + .rela.got.neg section. + Fri Jan 12 14:56:19 1996 Ian Lance Taylor * scripttempl/sh.sc: Only build constructors when CONSTRUCTING. diff --git a/ld/scripttempl/elfppc.sc b/ld/scripttempl/elfppc.sc index dc41da55e29..dbd26d63c14 100644 --- a/ld/scripttempl/elfppc.sc +++ b/ld/scripttempl/elfppc.sc @@ -46,34 +46,23 @@ SECTIONS ${CREATE_SHLIB-${RELOCATING+. = ${TEXT_START_ADDR} + SIZEOF_HEADERS;}} ${CREATE_SHLIB+${RELOCATING+. = SIZEOF_HEADERS;}} ${CREATE_SHLIB-${INTERP}} - .hash ${RELOCATING-0} : { *(.hash) } - .dynsym ${RELOCATING-0} : { *(.dynsym) } - .dynstr ${RELOCATING-0} : { *(.dynstr) } - .rel.text ${RELOCATING-0} : { *(.rel.text) } - .rela.text ${RELOCATING-0} : { *(.rela.text) } - .rel.data ${RELOCATING-0} : { *(.rel.data) } - .rela.data ${RELOCATING-0} : { *(.rela.data) } - .rel.rodata ${RELOCATING-0} : { *(.rel.rodata) } - .rela.rodata ${RELOCATING-0} : { *(.rela.rodata) } - .rel.got ${RELOCATING-0} : { *(.rel.got) } - .rela.got ${RELOCATING-0} : { *(.rela.got) } - .rel.got1 ${RELOCATING-0} : { *(.rel.got1) } - .rela.got1 ${RELOCATING-0} : { *(.rela.got1) } - .rel.got2 ${RELOCATING-0} : { *(.rel.got2) } - .rela.got2 ${RELOCATING-0} : { *(.rela.got2) } - .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) } - .rela.ctors ${RELOCATING-0} : { *(.rela.ctors) } - .rel.dtors ${RELOCATING-0} : { *(.rel.dtors) } - .rela.dtors ${RELOCATING-0} : { *(.rela.dtors) } - .rel.init ${RELOCATING-0} : { *(.rel.init) } - .rela.init ${RELOCATING-0} : { *(.rela.init) } - .rel.fini ${RELOCATING-0} : { *(.rel.fini) } - .rela.fini ${RELOCATING-0} : { *(.rela.fini) } - .rel.bss ${RELOCATING-0} : { *(.rel.bss) } - .rela.bss ${RELOCATING-0} : { *(.rela.bss) } - .rel.plt ${RELOCATING-0} : { *(.rel.plt) } - .rela.plt ${RELOCATING-0} : { *(.rela.plt) } - .init ${RELOCATING-0} : { *(.init) } =${NOP-0} + .hash ${RELOCATING-0} : { *(.hash) } + .dynsym ${RELOCATING-0} : { *(.dynsym) } + .dynstr ${RELOCATING-0} : { *(.dynstr) } + .rela.text ${RELOCATING-0} : { *(.rela.text) } + .rela.data ${RELOCATING-0} : { *(.rela.data) } + .rela.rodata ${RELOCATING-0} : { *(.rela.rodata) } + .rela.got ${RELOCATING-0} : { *(.rela.got) } + .rela.got.neg ${RELOCATING-0} : { *(.rela.got.neg) } + .rela.got1 ${RELOCATING-0} : { *(.rela.got1) } + .rela.got2 ${RELOCATING-0} : { *(.rela.got2) } + .rela.ctors ${RELOCATING-0} : { *(.rela.ctors) } + .rela.dtors ${RELOCATING-0} : { *(.rela.dtors) } + .rela.init ${RELOCATING-0} : { *(.rela.init) } + .rela.fini ${RELOCATING-0} : { *(.rela.fini) } + .rela.bss ${RELOCATING-0} : { *(.rela.bss) } + .rela.plt ${RELOCATING-0} : { *(.rela.plt) } + .init ${RELOCATING-0} : { *(.init) } =${NOP-0} ${DATA_PLT-${PLT}} .text ${RELOCATING-0} : { -- 2.30.2