* elf32-m68k.c (elf_m68k_check_relocs): Cache reloc section in
commit985cc86a9bf14b081fc1677eb6bfbca1c5a03496
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 17 May 2003 19:40:36 +0000 (17 19:40 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 17 May 2003 19:40:36 +0000 (17 19:40 +0000)
tree1e065f91730f1866f026de64b01115fd1de2d5c5
parent41acc81524606d0d40273b73ce5c06796512eeb2
* elf32-m68k.c (elf_m68k_check_relocs): Cache reloc section in
elf_section_data during processing of pc-relative and absolute
relocations.
(elf_m68k_relocate_section): Use the cached reloc section instead
of computing it again.  Fix handling of visibility.  Don't modify
addend when copying over a relocation into the output.
bfd/ChangeLog
bfd/elf32-m68k.c