aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.in
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2000-09-29 17:05:22 +0000
committerHans-Peter Nilsson <hp@axis.com>2000-09-29 17:05:22 +0000
commit4da816844af44739c9793fd30d8d8c4368e0ebf5 (patch)
tree94f62ffb50923645ad8ebeae9e41a3d7ea15acd0 /bfd/configure.in
parentf680e9734ea45cda9143f8f5bcba6bde534c7b49 (diff)
downloadgdb-4da816844af44739c9793fd30d8d8c4368e0ebf5.zip
gdb-4da816844af44739c9793fd30d8d8c4368e0ebf5.tar.gz
gdb-4da816844af44739c9793fd30d8d8c4368e0ebf5.tar.bz2
Define two bfd_targets for absence and presence of leading
underscore on symbols. Make sure to only link same kind. * elf32-cris.c (cris_elf_object_p, cris_elf_final_write_processing, cris_elf_print_private_bfd_data, cris_elf_merge_private_bfd_data): New. (elf_backend_object_p, elf_backend_final_write_processing, bfd_elf32_bfd_print_private_bfd_data, bfd_elf32_bfd_merge_private_bfd_data): Define. <Target vector definition>: Include elf32-target.h twice with different macro settings: (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as bfd_elf32_us_cris_vec. (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris". (elf_symbol_leading_char): First as 0, then '_'. (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h. * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs. * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector. * configure: Regenerate. * targets.c: Declare bfd_elf32_us_cris_vec. * po/bfd.pot: Regenerate.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r--bfd/configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/configure.in b/bfd/configure.in
index c7d64807..b2fd478 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -494,6 +494,7 @@ do
bfd_elf64_bigmips_vec) tb="$tb elf64-mips.lo elf64.lo elf32-mips.lo elf32.lo $elf ecofflink.lo"
target64=true ;;
bfd_elf32_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
+ bfd_elf32_us_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
bfd_elf32_d10v_vec) tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
bfd_elf32_d30v_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
bfd_elf32_fr30_vec) tb="$tb elf32-fr30.lo elf32.lo $elf" ;;