aboutsummaryrefslogtreecommitdiff
path: root/bfd/config.bfd
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-07-15 12:00:03 +0100
committerNick Clifton <nickc@redhat.com>2016-07-15 12:00:03 +0100
commitf7e8b360fe6dd93aae7cb4af554dc66364da4fe0 (patch)
treeb7ff85a7816a3b3de75e6a64112a418fe2c527c4 /bfd/config.bfd
parent003c15c9fdfc1ef7038ed3306ae166e60663e7ca (diff)
downloadgdb-f7e8b360fe6dd93aae7cb4af554dc66364da4fe0.zip
gdb-f7e8b360fe6dd93aae7cb4af554dc66364da4fe0.tar.gz
gdb-f7e8b360fe6dd93aae7cb4af554dc66364da4fe0.tar.bz2
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.
Diffstat (limited to 'bfd/config.bfd')
-rw-r--r--bfd/config.bfd5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index b998830..6400722 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -276,6 +276,11 @@ case "${targ}" in
targ_defvec=am33_elf32_linux_vec
;;
+ arc*eb-*-elf* | arc*eb-*-linux*)
+ targ_defvec=arc_elf32_be_vec
+ targ_selvecs=arc_elf32_le_vec
+ ;;
+
arc*-*-elf* | arc*-*-linux*)
targ_defvec=arc_elf32_le_vec
targ_selvecs=arc_elf32_be_vec