aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-openrisc.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3c1230c..fe7f218 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2001-09-13 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf32-openrisc.c (ELF_MACHINE_ALT1): Define as EM_OPENRISC_OLD.
+
2001-09-12 Alexandre Oliva <aoliva@redhat.com>
* elf.c (prep_headers): Get the machine code from the elf
diff --git a/bfd/elf32-openrisc.c b/bfd/elf32-openrisc.c
index f0f25fd..8199bf3 100644
--- a/bfd/elf32-openrisc.c
+++ b/bfd/elf32-openrisc.c
@@ -638,6 +638,7 @@ openrisc_elf_final_write_processing (abfd, linker)
#define ELF_ARCH bfd_arch_openrisc
#define ELF_MACHINE_CODE EM_OPENRISC
+#define ELF_MACHINE_ALT1 EM_OPENRISC_OLD
#define ELF_MAXPAGESIZE 0x1000
#define TARGET_BIG_SYM bfd_elf32_openrisc_vec