aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-05-27 21:42:14 +0000
committerIan Lance Taylor <ian@airs.com>1999-05-27 21:42:14 +0000
commitb2ef150dc1869348fad891e1dbad696a3fe6c5a5 (patch)
tree97cf7ae8757f8212ddd5ec246baf896140f4b12f /bfd/elf.c
parent2d1d084fef9ef61746e93bc6ee35d0a12882e764 (diff)
downloadgdb-b2ef150dc1869348fad891e1dbad696a3fe6c5a5.zip
gdb-b2ef150dc1869348fad891e1dbad696a3fe6c5a5.tar.gz
gdb-b2ef150dc1869348fad891e1dbad696a3fe6c5a5.tar.bz2
1999-05-28 Martin Dorey <mdorey@madge.com>
* elf32-i960.c: New file. * elf.c (prep_headers): Handle bfd_arch_i960. * targets.c (bfd_target_vector): Add &bfd_elf32_i960_vec. * config.bfd (i960-*-elf*): New target. * configure.in (bfd_elf32_i960_vec): New target vector. * Makefile.am (BFD32_BACKENDS): Add elf32-i960.lo. (BFD32_BACKENDS_CFILES): Add elf32-i960.c. * Makefile.in, aclocal.m4, configure: Rebuild.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 2107281..36a4b6b 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -3077,6 +3077,9 @@ prep_headers (abfd)
case bfd_arch_i860:
i_ehdrp->e_machine = EM_860;
break;
+ case bfd_arch_i960:
+ i_ehdrp->e_machine = EM_960;
+ break;
case bfd_arch_mips: /* MIPS Rxxxx */
i_ehdrp->e_machine = EM_MIPS; /* only MIPS R3000 */
break;