aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-02-13 01:53:03 +0000
committerAlan Modra <amodra@gmail.com>2007-02-13 01:53:03 +0000
commite4e0193e2b544e10aa8bd2edc85b4b40a08d646e (patch)
tree0142e560ef3b6de0b31097923966de9f44c3aac0 /ld/emultempl
parent7e2b0ba31b99bc1de033d8d4830e64e2522874dc (diff)
downloadbinutils-e4e0193e2b544e10aa8bd2edc85b4b40a08d646e.zip
binutils-e4e0193e2b544e10aa8bd2edc85b4b40a08d646e.tar.gz
binutils-e4e0193e2b544e10aa8bd2edc85b4b40a08d646e.tar.bz2
bfd/
* elf64-ppc.c (create_linkage_sections): Use section ".branch_lt" for branch lookup table. ld/ * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt". * emultempl/ppc64elf.em (ppc_add_stub_section): Create without SEC_RELOC flag set. ld/testsuite/ * ld-powerpc/relbrlt.d: Update. * ld-powerpc/tlsexe.r: Update. * ld-powerpc/tlsexetoc.r: Update. * ld-powerpc/tlsso.r: Update. * ld-powerpc/tlstocso.r: Update.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/ppc64elf.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em
index 8823b11..deefe41 100644
--- a/ld/emultempl/ppc64elf.em
+++ b/ld/emultempl/ppc64elf.em
@@ -225,7 +225,7 @@ ppc_add_stub_section (const char *stub_sec_name, asection *input_section)
goto err_ret;
flags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_CODE
- | SEC_HAS_CONTENTS | SEC_RELOC | SEC_IN_MEMORY | SEC_KEEP);
+ | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_KEEP);
if (!bfd_set_section_flags (stub_file->the_bfd, stub_sec, flags))
goto err_ret;