aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-m32c.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2008-06-12 19:49:48 +0000
committerDJ Delorie <dj@redhat.com>2008-06-12 19:49:48 +0000
commitff7eeb894eb621be6933ce414508ed7eb38ea763 (patch)
tree210fbc3c11b5476015896d998e74b142a1bb037a /bfd/elf32-m32c.c
parent310213e869a9d10697dea5013e6492ccf60322e3 (diff)
downloadgdb-ff7eeb894eb621be6933ce414508ed7eb38ea763.zip
gdb-ff7eeb894eb621be6933ce414508ed7eb38ea763.tar.gz
gdb-ff7eeb894eb621be6933ce414508ed7eb38ea763.tar.bz2
* common.h (EM_M32C_NEW): Rename to EM_M32C.
(EM_M32C): Rename to EM_M32C_OLD. * elf32-m32c.c (ELF_MACHINE_ALT1): Define as EM_M32C_OLD. * readelf.c (guess_is_rela): Add EM_M32C_OLD. (dump_relocations): Likewise. (process_section_headers): Likewise. (is_32bit_abs_reloc): Likewise. (is_16bit_abs_reloc): Likewise.
Diffstat (limited to 'bfd/elf32-m32c.c')
-rw-r--r--bfd/elf32-m32c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-m32c.c b/bfd/elf32-m32c.c
index dd40541..b188426 100644
--- a/bfd/elf32-m32c.c
+++ b/bfd/elf32-m32c.c
@@ -1998,6 +1998,7 @@ _bfd_m32c_elf_eh_frame_address_size (bfd *abfd, asection *sec ATTRIBUTE_UNUSED)
#define ELF_ARCH bfd_arch_m32c
#define ELF_MACHINE_CODE EM_M32C
+#define ELF_MACHINE_ALT1 EM_M32C_OLD
#define ELF_MAXPAGESIZE 0x1000
#if 0