diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/archures.c | 1 | ||||
-rw-r--r-- | bfd/bfd-in2.h | 1 | ||||
-rw-r--r-- | bfd/cpu-mep.c | 3 | ||||
-rw-r--r-- | bfd/elf32-mep.c | 1 |
5 files changed, 12 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ec60410..b0a62b4 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2009-04-07 DJ Delorie <dj@redhat.com> + + * archures.c: Add bfd_mach_mep_c5. + * bfd-in2.h: Likewise. + * cpu-mep.c: Add bfd_c5_arch. + * elf32-mep.c: Support it. + 2009-04-07 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (_bfd_elf_section_already_linked): Add `\n' for diff --git a/bfd/archures.c b/bfd/archures.c index fa03d81..b0bf140 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -335,6 +335,7 @@ DESCRIPTION . bfd_arch_mep, .#define bfd_mach_mep 1 .#define bfd_mach_mep_h1 0x6831 +.#define bfd_mach_mep_c5 0x6335 . bfd_arch_ia64, {* HP/Intel ia64 *} .#define bfd_mach_ia64_elf64 64 .#define bfd_mach_ia64_elf32 32 diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 646be2c..6629ed7 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1972,6 +1972,7 @@ enum bfd_architecture bfd_arch_mep, #define bfd_mach_mep 1 #define bfd_mach_mep_h1 0x6831 +#define bfd_mach_mep_c5 0x6335 bfd_arch_ia64, /* HP/Intel ia64 */ #define bfd_mach_ia64_elf64 64 #define bfd_mach_ia64_elf32 32 diff --git a/bfd/cpu-mep.c b/bfd/cpu-mep.c index a161764..dfe251d 100644 --- a/bfd/cpu-mep.c +++ b/bfd/cpu-mep.c @@ -24,5 +24,6 @@ #define MA(x, n, def, y) { 32, 32, 8, bfd_arch_mep, x, "mep", n, \ 2, def, bfd_default_compatible, bfd_default_scan, y } -static const bfd_arch_info_type bfd_h1_arch = MA (bfd_mach_mep_h1, "h1", FALSE, NULL); +static const bfd_arch_info_type bfd_c5_arch = MA (bfd_mach_mep_c5, "c5", FALSE, NULL); +static const bfd_arch_info_type bfd_h1_arch = MA (bfd_mach_mep_h1, "h1", FALSE, & bfd_c5_arch); const bfd_arch_info_type bfd_mep_arch = MA (bfd_mach_mep, "mep", TRUE, & bfd_h1_arch); diff --git a/bfd/elf32-mep.c b/bfd/elf32-mep.c index 4e96a78..b1e4a12 100644 --- a/bfd/elf32-mep.c +++ b/bfd/elf32-mep.c @@ -731,6 +731,7 @@ elf32_mep_machine (bfd * abfd) case EF_MEP_CPU_C2: return bfd_mach_mep; case EF_MEP_CPU_C3: return bfd_mach_mep; case EF_MEP_CPU_C4: return bfd_mach_mep; + case EF_MEP_CPU_C5: return bfd_mach_mep_c5; case EF_MEP_CPU_H1: return bfd_mach_mep_h1; } |