diff options
author | Stan Cox <scox@redhat.com> | 2003-01-03 21:12:28 +0000 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2003-01-03 21:12:28 +0000 |
commit | a75473eb669e29b5a60695988da32f2c5449d530 (patch) | |
tree | 4ed4a215117198127df421478af317634a555e78 /bfd/targets.c | |
parent | 0a8551ddd5fc5dfebac56fdd8f89b1757461e292 (diff) | |
download | gdb-a75473eb669e29b5a60695988da32f2c5449d530.zip gdb-a75473eb669e29b5a60695988da32f2c5449d530.tar.gz gdb-a75473eb669e29b5a60695988da32f2c5449d530.tar.bz2 |
* Makefile.am (ALL_MACHINES): Add cpu-iq2000.lo.
(ALL_MACHINES_CFILES): Add cpu-iq2000.c.
(BFD32_BACKENDS): Add elf32-iq2000.lo.
(BFD32_BACKENDS_CFILES): Add elf32-iq2000.c.
(cpu-iq2000.lo): New target.
* Makefile.in: Regenerate.
* config.bfd: Handle iq2000-*-elf.
* archures.c (bfd_architecture): Add bfd_{arch,mach}_iq2000.
(bfd_archures_list): Add bfd_iq2000_arch.
* configure.in: Handle bfd_elf32_iq2000_vec.
* configure: Regenerate.
* reloc.c: Add BFD_RELOC_IQ2000_OFFSET_16, BFD_RELOC_IQ2000_OFFSET_21,
and BFD_RELOC_IQ2000_UHI16.
* targets.c (bfd_elf32_iq2000_vec): Declare.
(bfd_target_vector): Add bfd_elf32_iq2000_vec.
* elf.c (prep_headers): Set e_machine to EM_IQ2000.
* cpu-iq2000.c: New file.
* elf32-iq2000.c: Likewise.
* libbfd.h: Regenerate.
* bfd-in2.h: Likewise.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r-- | bfd/targets.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/targets.c b/bfd/targets.c index bebd6a0..c541c11 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -1,6 +1,6 @@ /* Generic target-file-type support for the BFD library. Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002 + 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Written by Cygnus Support. @@ -533,6 +533,7 @@ extern const bfd_target bfd_elf32_i960_vec; extern const bfd_target bfd_elf32_ia64_big_vec; extern const bfd_target bfd_elf32_ia64_hpux_big_vec; extern const bfd_target bfd_elf32_ip2k_vec; +extern const bfd_target bfd_elf32_iq2000_vec; extern const bfd_target bfd_elf32_little_generic_vec; extern const bfd_target bfd_elf32_littlearc_vec; extern const bfd_target bfd_elf32_littlearm_oabi_vec; @@ -820,6 +821,7 @@ static const bfd_target * const _bfd_target_vector[] = { #endif &bfd_elf32_ia64_hpux_big_vec, &bfd_elf32_ip2k_vec, + &bfd_elf32_iq2000_vec, &bfd_elf32_little_generic_vec, &bfd_elf32_littlearc_vec, &bfd_elf32_littlearm_oabi_vec, |