Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(517)

Unified Diff: binutils/ld/emulparams/elf64ppc.sh

Issue 3018030: [binutils] Bump binutils to 2.20.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « binutils/ld/aclocal.m4 ('k') | binutils/ld/emultempl/vxworks.em » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: binutils/ld/emulparams/elf64ppc.sh
diff --git a/binutils/ld/emulparams/elf64ppc.sh b/binutils/ld/emulparams/elf64ppc.sh
index b9631b654ec66e498f2f46c3a6774695b0e17d29..c9337ea90d8d6ad665479a296a833e7021d6a032 100644
--- a/binutils/ld/emulparams/elf64ppc.sh
+++ b/binutils/ld/emulparams/elf64ppc.sh
@@ -28,9 +28,11 @@ else
.got 0 : { *(.got) }
.toc 0 : { *(.toc) }"
fi
+# Put .opd relocs first so ld.so will process them before any ifunc relocs.
+INITIAL_RELOC_SECTIONS="
+ .rela.opd ${RELOCATING-0} : { *(.rela.opd) }"
OTHER_GOT_RELOC_SECTIONS="
.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) }
« no previous file with comments | « binutils/ld/aclocal.m4 ('k') | binutils/ld/emultempl/vxworks.em » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698