aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-02-23 13:52:23 +0000
committerAlan Modra <amodra@gmail.com>2000-02-23 13:52:23 +0000
commit5b93d8bb517c1f5715435dcf627a8642f557ddb2 (patch)
treee09626193185adb6455a6251622f32180183db5c /bfd/elf.c
parentab91fdd5f80265ca7aabee53c9626d393ea8eb86 (diff)
downloadgdb-5b93d8bb517c1f5715435dcf627a8642f557ddb2.zip
gdb-5b93d8bb517c1f5715435dcf627a8642f557ddb2.tar.gz
gdb-5b93d8bb517c1f5715435dcf627a8642f557ddb2.tar.bz2
Add IBM 370 support.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 6a40068..e4bcd21 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -1,5 +1,5 @@
/* ELF executable support for BFD.
- Copyright 1993, 94, 95, 96, 97, 98, 1999 Free Software Foundation, Inc.
+ Copyright 1993, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -3231,6 +3231,9 @@ prep_headers (abfd)
else
i_ehdrp->e_machine = EM_SPARC;
break;
+ case bfd_arch_i370:
+ i_ehdrp->e_machine = EM_S370;
+ break;
case bfd_arch_i386:
i_ehdrp->e_machine = EM_386;
break;