@@ -0,0 +1,23 @@
1+diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
2+index 9f956d3..f5b61f1 100644
3+--- a/bfd/elf32-arm.c
4++++ b/bfd/elf32-arm.c
5+@@ -19585,7 +19585,10 @@ elf32_arm_vxworks_final_write_processing (bfd *abfd, bfd_boolean linker)
6+ #undef ELF_MAXPAGESIZE
7+ #define ELF_MAXPAGESIZE 0x1000
8+
9++/* Prioritize elf32-*arm (priority 1) over elf32-*arm-vxworks (priority 2) */
10++#define elf_match_priority 2
11+ #include "elf32-target.h"
12++#undef elf_match_priority
13+
14+
15+ /* Merge backend specific data from an object file to the output
16+@@ -19974,4 +19977,7 @@ elf32_arm_symbian_plt_sym_val (bfd_vma i, const asection *plt,
17+ #undef ELF_MAXPAGESIZE
18+ #define ELF_MAXPAGESIZE 0x8000
19+
20++/* Prioritize elf32-*arm (priority 1) over elf32-*arm-symbian (priority 2) */
21++#define elf_match_priority 2
22+ #include "elf32-target.h"
23++#undef elf_match_priority