aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@gmail.com>2023-09-25 17:01:34 +0300
committerClaudiu Zissulescu <claziss@gmail.com>2023-09-25 17:01:34 +0300
commit0a87388b3b43c6b9cd1310aa1d53b96468864243 (patch)
tree2402f4d9ecda856d80e8fc4f1ce1c54b8609baab /bfd
parent5e5116071b09e187ee3c6b7e86e86114f6a65ef3 (diff)
downloadgdb-0a87388b3b43c6b9cd1310aa1d53b96468864243.zip
gdb-0a87388b3b43c6b9cd1310aa1d53b96468864243.tar.gz
gdb-0a87388b3b43c6b9cd1310aa1d53b96468864243.tar.bz2
Revert "arc: Update bfd arc pattern file to allow enable-targets=all"
This reverts commit 5e5116071b09e187ee3c6b7e86e86114f6a65ef3.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/elfnn-arc.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/bfd/elfnn-arc.c b/bfd/elfnn-arc.c
index f3ff157..04fce7e 100644
--- a/bfd/elfnn-arc.c
+++ b/bfd/elfnn-arc.c
@@ -32,8 +32,8 @@
#include "arc-plt.h"
-#define FEATURE_LIST_NAME bfdNN_ARCAA_feature_list
-#define CONFLICT_LIST bfdNN_ARCAA_conflict_list
+#define FEATURE_LIST_NAME bfdNN_feature_list
+#define CONFLICT_LIST bfdNN_conflict_list
#include "opcode/arc-attrs.h"
/* Possible ARC architectures. */
@@ -3006,7 +3006,7 @@ arc_reloc_type_class (const struct bfd_link_info *info ATTRIBUTE_UNUSED,
/* We use this so we can override certain functions
(though currently we don't). */
-const struct elf_size_info ARCAA_elfNN_size_info =
+const struct elf_size_info arc_elfNN_size_info =
{
sizeof (ElfNN_External_Ehdr),
sizeof (ElfNN_External_Phdr),
@@ -3541,11 +3541,7 @@ arc_elf_relax_section (bfd *abfd, asection *sec,
#define TARGET_LITTLE_SYM arcAA_elfNN_le_vec
#define TARGET_LITTLE_NAME "elfNN-littlearcAA"
-
-#if (ARCH_TYPE == ARC) && (ARCH_SIZE == 32)
-# define TARGET_BIG_SYM arc_elfNN_be_vec
-#endif
-
+#define TARGET_BIG_SYM arc_elfNN_be_vec
#define TARGET_BIG_NAME "elfNN-bigarc"
#define ELF_ARCH ARC_BFD_ARCH
#define ELF_TARGET_ID ARC_ELF_DATA
@@ -3571,7 +3567,7 @@ arc_elf_relax_section (bfd *abfd, asection *sec,
#define bfd_elfNN_bfd_copy_private_bfd_data arc_elf_copy_private_bfd_data
#define bfd_elfNN_bfd_relax_section arc_elf_relax_section
-#define elf_backend_size_info ARCAA_elfNN_size_info
+#define elf_backend_size_info arc_elfNN_size_info
#define elf_info_to_howto_rel arc_info_to_howto_rel
#define elf_backend_object_p arc_elf_object_p