]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
or1k: fix pc-relative relocation against dynamic on PC relative 26 bit relocation.
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Fri, 16 Jul 2021 14:03:07 +0000 (15:03 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 16 Jul 2021 14:03:07 +0000 (15:03 +0100)
commit05a1dd47cc9b6fcc8ec112bd0b68b36567ccbb39
tree014584304436abfb9e44be2f796e4005655dad69
parentc58830e49d917dcc80c520b22638a1902ce8f932
or1k: fix pc-relative relocation against dynamic on PC relative 26 bit relocation.

bfd * elf32-or1k.c (or1k_elf_relocate_section): Use a separate entry
in switch case R_OR1K_INSN_REL_26 where we need to check for
!SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL().
bfd/ChangeLog
bfd/elf32-or1k.c