aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-moxie.c
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2015-01-09 07:12:37 -0500
committerAnthony Green <green@moxielogic.com>2015-01-09 07:13:07 -0500
commit400cf8cbe9bc48068f1601ea9cd33fbd2f5de36a (patch)
treea9cab2f91bb24c2857db784f67c292d47b30f9c5 /bfd/elf32-moxie.c
parentc945a99f01941ccb3e73586d5e6f8d45ffa91f77 (diff)
downloadgdb-400cf8cbe9bc48068f1601ea9cd33fbd2f5de36a.zip
gdb-400cf8cbe9bc48068f1601ea9cd33fbd2f5de36a.tar.gz
gdb-400cf8cbe9bc48068f1601ea9cd33fbd2f5de36a.tar.bz2
Use official ELF machine number for moxie
Diffstat (limited to 'bfd/elf32-moxie.c')
-rw-r--r--bfd/elf32-moxie.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-moxie.c b/bfd/elf32-moxie.c
index d9fc24f..51b0cfc 100644
--- a/bfd/elf32-moxie.c
+++ b/bfd/elf32-moxie.c
@@ -371,6 +371,7 @@ moxie_elf_check_relocs (bfd *abfd,
#define ELF_ARCH bfd_arch_moxie
#define ELF_MACHINE_CODE EM_MOXIE
+#define ELF_MACHINE_ALT1 EM_MOXIE_OLD
#define ELF_MAXPAGESIZE 0x1
#define TARGET_BIG_SYM moxie_elf32_be_vec