diff options
author | DJ Delorie <dj@redhat.com> | 2008-06-12 19:49:47 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2008-06-12 19:49:47 +0000 |
commit | 637fe5e44fc0a8d9bdb4ec02739f8ac748eda625 (patch) | |
tree | 5ebffce3c1077ca92f353f5455544e1cdb614837 /include | |
parent | 4a386f084a3b58afa8bb224aeb01b3f61f1a8484 (diff) | |
download | cygnal-637fe5e44fc0a8d9bdb4ec02739f8ac748eda625.tar.gz cygnal-637fe5e44fc0a8d9bdb4ec02739f8ac748eda625.tar.bz2 cygnal-637fe5e44fc0a8d9bdb4ec02739f8ac748eda625.zip |
* 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 'include')
-rw-r--r-- | include/elf/ChangeLog | 5 | ||||
-rw-r--r-- | include/elf/common.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 507fd72ee..377a1eb42 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,8 @@ +2008-06-12 DJ Delorie <dj@redhat.com> + + * common.h (EM_M32C_NEW): Rename to EM_M32C. + (EM_M32C): Rename to EM_M32C_OLD. + 2008-06-12 Joseph Myers <joseph@codesourcery.com> * common.h: Update e_machine table. diff --git a/include/elf/common.h b/include/elf/common.h index 53d57ac02..bd28ebd4d 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -205,7 +205,7 @@ #define EM_M16C 117 /* Renesas M16C series microprocessors */ #define EM_DSPIC30F 118 /* Microchip Technology dsPIC30F Digital Signal Controller */ #define EM_CE 119 /* Freescale Communication Engine RISC core */ -#define EM_M32C_NEW 120 /* Renesas M32C series microprocessors */ +#define EM_M32C 120 /* Renesas M32C series microprocessors */ #define EM_TSK3000 131 /* Altium TSK3000 core */ #define EM_RS08 132 /* Freescale RS08 embedded processor */ @@ -323,7 +323,7 @@ #define EM_CYGNUS_MN10200 0xdead /* Renesas M32C and M16C. */ -#define EM_M32C 0xFEB0 +#define EM_M32C_OLD 0xFEB0 /* Vitesse IQ2000. */ #define EM_IQ2000 0xFEBA |