diff options
author | Nick Clifton <nickc@redhat.com> | 1997-08-25 23:00:29 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1997-08-25 23:00:29 +0000 |
commit | 8988d935a335f9f60ec1eccc1caa70cd757e3201 (patch) | |
tree | ae79c7e64442c21e77ed4cbbc6a7271b94e8505c /bfd/elf.c | |
parent | a3515171ce237d5eca963c7fbb394be3cc3bf58a (diff) | |
download | gdb-8988d935a335f9f60ec1eccc1caa70cd757e3201.zip gdb-8988d935a335f9f60ec1eccc1caa70cd757e3201.tar.gz gdb-8988d935a335f9f60ec1eccc1caa70cd757e3201.tar.bz2 |
Switched over to using machine numbers to distinguish v850 architecture variants.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -2872,10 +2872,20 @@ prep_headers (abfd) /* end-sanitize-d30v */ /* start-sanitize-v850 */ case bfd_arch_v850: - i_ehdrp->e_machine = EM_CYGNUS_V850; + switch (bfd_get_mach (abfd)) + { + default: + case 0: i_ehdrp->e_machine = EM_CYGNUS_V850; break; +/* start-sanitize-v850e */ + case bfd_mach_v850e: i_ehdrp->e_machine = EM_CYGNUS_V850E; break; +/* end-sanitize-v850e */ +/* start-sanitize-v850eq */ + case bfd_mach_v850eq: i_ehdrp->e_machine = EM_CYGNUS_V850EQ; break; +/* end-sanitize-v850eq */ + } break; /* end-sanitize-v850 */ - case bfd_arch_arc: + case bfd_arch_arc: i_ehdrp->e_machine = EM_CYGNUS_ARC; break; case bfd_arch_m32r: |