aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
parentc945a99f01941ccb3e73586d5e6f8d45ffa91f77 (diff)
downloadgdb-400cf8cbe9bc48068f1601ea9cd33fbd2f5de36a.zip
gdb-400cf8cbe9bc48068f1601ea9cd33fbd2f5de36a.tar.gz
gdb-400cf8cbe9bc48068f1601ea9cd33fbd2f5de36a.tar.bz2
Use official ELF machine number for moxie
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-moxie.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d59075a..1bc66e4 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-09 Anthony Green <green@moxielogic.com>
+
+ * elf32-moxie.c (ELF_MACHINE_ALT1): Define.
+
2015-01-08 Nick Clifton <nickc@redhat.com>
* elf32-msp430.c (msp430_elf_relax_section): Add relaxation of
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