Recognize SH2E from new binutils (map to sh3e vector).
This commit is contained in:
parent
bafb9c4f84
commit
8514c96f9a
1
gnu/dist/gdb/bfd/elf32-sh-nbsd.c
vendored
1
gnu/dist/gdb/bfd/elf32-sh-nbsd.c
vendored
@ -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;
|
||||
|
4
gnu/dist/gdb/include/elf/sh.h
vendored
4
gnu/dist/gdb/include/elf/sh.h
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user