diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2000-09-29 17:05:22 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2000-09-29 17:05:22 +0000 |
commit | 4da816844af44739c9793fd30d8d8c4368e0ebf5 (patch) | |
tree | 94f62ffb50923645ad8ebeae9e41a3d7ea15acd0 /bfd/targets.c | |
parent | f680e9734ea45cda9143f8f5bcba6bde534c7b49 (diff) | |
download | gdb-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.c | 2 |
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, |