Recognize SH2E from new binutils (map to sh3e vector).

This commit is contained in:
uwe 2006-10-14 22:20:06 +00:00
parent bafb9c4f84
commit 8514c96f9a
2 changed files with 5 additions and 0 deletions

View File

@ -74,6 +74,7 @@ nbsd_sh_elf_set_mach_from_flags (abfd)
bfd_default_set_arch_mach (abfd, bfd_arch_sh, bfd_mach_sh3);
break;
case EF_SH2E:
case EF_SH2A_SH3E:
bfd_default_set_arch_mach (abfd, bfd_arch_sh, bfd_mach_sh3e);
break;

View File

@ -35,6 +35,10 @@
#define EF_SH4 9
/* New flags from binutils 2.16 */
#define EF_SH2E 11
#define EF_SH4A 12
#define EF_SH2A 13
#define EF_SH4_NOFPU 16
#define EF_SH4A_NOFPU 17
#define EF_SH4_NOMMU_NOFPU 18