aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-fr30.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-08-27 08:59:29 +0930
committerAlan Modra <amodra@gmail.com>2016-08-27 09:42:09 +0930
commit8a9e8e72fe88095043d16f8a56b5a1e150ee288b (patch)
treed7fff3fcb432159e06b8e51d44780716e36d254c /bfd/cpu-fr30.c
parente55c2fc0ef151054f4a1603799d8ecd6a3f407bd (diff)
downloadfsf-binutils-gdb-8a9e8e72fe88095043d16f8a56b5a1e150ee288b.zip
fsf-binutils-gdb-8a9e8e72fe88095043d16f8a56b5a1e150ee288b.tar.gz
fsf-binutils-gdb-8a9e8e72fe88095043d16f8a56b5a1e150ee288b.tar.bz2
Fix commit 980aa3e6
Commit 980aa3e6 was supposed to cure dyn_reloc counting problems, but did the opposite. For PIC we count two types of dyn_reloc, those on pc-relative relocs, and the total. If a sym needs pc-relative dyn relocs then all the relocs are dynamic. If not, then only those that are must_be_dyn_reloc are dynamic. PR 20519 * elf64-ppc.c (pc_dynrelocs): New function. (ppc64_elf_relocate_section): Use it and must_be_dyn_reloc to handle pic dynamic relocs.
Diffstat (limited to 'bfd/cpu-fr30.c')
0 files changed, 0 insertions, 0 deletions