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/config.bfd | |
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/config.bfd')
-rw-r--r-- | bfd/config.bfd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd index ec8f8d6..acd0cc4 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -209,8 +209,8 @@ case "${targ}" in cris-*-*) targ_defvec=cris_aout_vec - targ_selvecs="bfd_elf32_cris_vec ieee_vec" - targ_underscore=yes + targ_selvecs="bfd_elf32_us_cris_vec bfd_elf32_cris_vec ieee_vec" + targ_underscore=yes # Note: not true for bfd_elf32_cris_vec. ;; d10v-*-*) |