aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-xtensa.c
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2005-08-15 18:17:12 +0000
committerBob Wilson <bob.wilson@acm.org>2005-08-15 18:17:12 +0000
commit4af0a1d8b63b664a24cc11f58cc914e757242272 (patch)
tree9739383fad3e8c71d3aeb9e3ccc13cc6e8de3759 /bfd/elf32-xtensa.c
parent00ce08ef8613d8b4ef5e04a8f626a700e8f86bdf (diff)
downloadfsf-binutils-gdb-4af0a1d8b63b664a24cc11f58cc914e757242272.zip
fsf-binutils-gdb-4af0a1d8b63b664a24cc11f58cc914e757242272.tar.gz
fsf-binutils-gdb-4af0a1d8b63b664a24cc11f58cc914e757242272.tar.bz2
* elf32-xtensa.c (ELF_MACHINE_CODE, ELF_MACHINE_ALT1): Swap values
of EM_XTENSA and EM_XTENSA_OLD.
Diffstat (limited to 'bfd/elf32-xtensa.c')
-rw-r--r--bfd/elf32-xtensa.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c
index 7950889..507557d 100644
--- a/bfd/elf32-xtensa.c
+++ b/bfd/elf32-xtensa.c
@@ -9487,14 +9487,8 @@ static const struct bfd_elf_special_section elf_xtensa_special_sections[] =
#define TARGET_BIG_NAME "elf32-xtensa-be"
#define ELF_ARCH bfd_arch_xtensa
-/* The new EM_XTENSA value will be recognized beginning in the Xtensa T1040
- release. However, we still have to generate files with the EM_XTENSA_OLD
- value so that pre-T1040 tools can read the files. As soon as we stop
- caring about pre-T1040 tools, the following two values should be
- swapped. At the same time, any other code that uses EM_XTENSA_OLD
- should be changed to use EM_XTENSA. */
-#define ELF_MACHINE_CODE EM_XTENSA_OLD
-#define ELF_MACHINE_ALT1 EM_XTENSA
+#define ELF_MACHINE_CODE EM_XTENSA
+#define ELF_MACHINE_ALT1 EM_XTENSA_OLD
#if XCHAL_HAVE_MMU
#define ELF_MAXPAGESIZE (1 << XCHAL_MMU_MIN_PTE_PAGE_SIZE)