diff options
author | Nick Clifton <nickc@redhat.com> | 2000-11-30 19:16:54 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-11-30 19:16:54 +0000 |
commit | 8d88c4ca53bf3be481587f21611576ff82f38ed5 (patch) | |
tree | f88d76c0bcfe6592dd0e356e8d6196fc1c084d49 /bfd/elf.c | |
parent | abf1d184bdd1ddb2e6c4d9d95e3807cbe9fd5c26 (diff) | |
download | gdb-8d88c4ca53bf3be481587f21611576ff82f38ed5.zip gdb-8d88c4ca53bf3be481587f21611576ff82f38ed5.tar.gz gdb-8d88c4ca53bf3be481587f21611576ff82f38ed5.tar.bz2 |
Add support for x86_64-*-linux-gnu* target
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3306,6 +3306,9 @@ prep_headers (abfd) i_ehdrp->e_machine = EM_S370; break; case bfd_arch_i386: + if (bfd_get_arch_size (abfd) == 64) + i_ehdrp->e_machine = EM_X86_64; + else i_ehdrp->e_machine = EM_386; break; case bfd_arch_ia64: |