aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
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/targets.c
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/targets.c')
-rw-r--r--bfd/targets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index 986d88b..d4d3318 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -523,6 +523,7 @@ extern const bfd_target bfd_elf32_big_generic_vec;
extern const bfd_target bfd_elf32_bigmips_vec;
extern const bfd_target bfd_elf64_bigmips_vec;
extern const bfd_target bfd_elf32_cris_vec;
+extern const bfd_target bfd_elf32_us_cris_vec;
extern const bfd_target bfd_elf32_d10v_vec;
extern const bfd_target bfd_elf32_d30v_vec;
extern const bfd_target bfd_elf32_hppa_vec;
@@ -730,6 +731,7 @@ const bfd_target * const bfd_target_vector[] = {
&bfd_elf64_bigmips_vec,
#endif
&bfd_elf32_cris_vec,
+ &bfd_elf32_us_cris_vec,
&bfd_elf32_d10v_vec,
&bfd_elf32_d30v_vec,
&bfd_elf32_hppa_vec,