From 0a87388b3b43c6b9cd1310aa1d53b96468864243 Mon Sep 17 00:00:00 2001 From: Claudiu Zissulescu Date: Mon, 25 Sep 2023 17:01:34 +0300 Subject: [PATCH] Revert "arc: Update bfd arc pattern file to allow enable-targets=all" This reverts commit 5e5116071b09e187ee3c6b7e86e86114f6a65ef3. --- bfd/elfnn-arc.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/bfd/elfnn-arc.c b/bfd/elfnn-arc.c index f3ff157f809..04fce7eb6e0 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 -- 2.30.2