From b796d39d3a974d7d0946366467c5bdf72460d4e5 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 30 Sep 2008 15:04:34 +0000 Subject: * emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.opd and .rela.branch_lt. --- ld/ChangeLog | 5 +++++ ld/emulparams/elf64ppc.sh | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 283a75c..25debe5 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2008-09-30 Joseph Myers + + * emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.opd + and .rela.branch_lt. + 2008-09-30 Alan Modra * Makefile.am: Run "make dep-am". diff --git a/ld/emulparams/elf64ppc.sh b/ld/emulparams/elf64ppc.sh index 2fecba8..8b0c587 100644 --- a/ld/emulparams/elf64ppc.sh +++ b/ld/emulparams/elf64ppc.sh @@ -28,7 +28,9 @@ else .toc 0 : { *(.toc) }" fi OTHER_GOT_RELOC_SECTIONS=" - .rela.toc ${RELOCATING-0} : { *(.rela.toc) }" + .rela.toc ${RELOCATING-0} : { *(.rela.toc) } + .rela.opd ${RELOCATING-0} : { *(.rela.opd) } + .rela.branch_lt ${RELOCATING-0} : { *(.rela.branch_lt) }" OTHER_READWRITE_SECTIONS=" .toc1 ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.toc1) } .opd ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { KEEP (*(.opd)) } -- cgit v1.1