Tidy up debugging in the ARC port of the BFD library.
authorNick Clifton <nickc@redhat.com>
Fri, 15 Jul 2016 11:00:03 +0000 (12:00 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 15 Jul 2016 11:00:03 +0000 (12:00 +0100)
commitf7e8b360fe6dd93aae7cb4af554dc66364da4fe0
treeb7ff85a7816a3b3de75e6a64112a418fe2c527c4
parent003c15c9fdfc1ef7038ed3306ae166e60663e7ca
Tidy up debugging in the ARC port of the BFD library.

bfd * elf32-arc.c (PR_DEBUG): Delete.
Fix printing of debug information.  Fix formatting of debug
statements.
(debug_arc_reloc): Handle symbols that are not from an input file.
(arc_do_relocation): Remove excessive exclamation points.
(elf_arc_relocate_section): Print an informative message if the
relocation fails, even if debugging is not enabled.
* arc-got.h: Fix formatting.  Fix printing of debug information.
(new_got_entry_to_list): Use xmalloc.
* config.bfd: use the big-endian arc vector as the default vector
for big-endian arc targets.

ld * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
little endian mode.
bfd/ChangeLog
bfd/arc-got.h
bfd/config.bfd
bfd/elf32-arc.c
ld/ChangeLog
ld/testsuite/ld-arc/arc.exp