aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-01-13 14:44:48 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-01-13 14:44:48 +0000
commitbe03dc3e37b31bfcdf86a2da1532e0fe8baef1a2 (patch)
treeec16aef16337e0db17a2a615726b2fdc63960d79 /ld
parent1c3a295b135875e0c6f9f1e0d4a356d30a326d03 (diff)
downloadgdb-be03dc3e37b31bfcdf86a2da1532e0fe8baef1a2.zip
gdb-be03dc3e37b31bfcdf86a2da1532e0fe8baef1a2.tar.gz
gdb-be03dc3e37b31bfcdf86a2da1532e0fe8baef1a2.tar.bz2
Add .rela.got.neg section; remove .rel.* sections
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/elfppc.sc45
2 files changed, 22 insertions, 28 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 180ec6f..3613f5f 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Sat Jan 13 09:41:43 1996 Michael Meissner <meissner@tiktok.cygnus.com>
+
+ * scripttempl/elfppc.sc: Remove support for .rel.* sections. Add
+ .rela.got.neg section.
+
Fri Jan 12 14:56:19 1996 Ian Lance Taylor <ian@cygnus.com>
* scripttempl/sh.sc: Only build constructors when CONSTRUCTING.
diff --git a/ld/scripttempl/elfppc.sc b/ld/scripttempl/elfppc.sc
index dc41da5..dbd26d6 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} :
{