aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-09-03 00:44:56 +0000
committerNick Clifton <nickc@redhat.com>1997-09-03 00:44:56 +0000
commit8bef8c3071461f595b67cc6297215e2a2f105d4a (patch)
tree80d252e6705d7b0ad6eb5f65969bff46cf697389 /bfd/elf.c
parent8ba8bbaec7704c679f73c774cc7de22cadef2d1a (diff)
downloadgdb-8bef8c3071461f595b67cc6297215e2a2f105d4a.zip
gdb-8bef8c3071461f595b67cc6297215e2a2f105d4a.tar.gz
gdb-8bef8c3071461f595b67cc6297215e2a2f105d4a.tar.bz2
Set machine number based in bits in e_flags field rather than magic number.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 7b1d196..88bdaf9 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2876,12 +2876,6 @@ prep_headers (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 */