diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2000-07-20 16:21:07 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2000-07-20 16:21:07 +0000 |
commit | 91d7f87570ee8140974e861144c8793cffbb60b8 (patch) | |
tree | bc54eaa3d013c6442151d2965e95e3ef1da50131 /bfd/aoutx.h | |
parent | 912e5bdd7034e129b61643ef94adf9ec65d00208 (diff) | |
download | gdb-91d7f87570ee8140974e861144c8793cffbb60b8.tar.gz |
* Makefile.am (ALL_MACHINES): Add cpu-cris.lo.
(ALL_MACHINES_CFILES): Add cpu-cris.c.
(BFD32_BACKENDS): Add aout-cris.lo and elf32-cris.lo.
(BFD32_BACKENDS_CFILES): Add aout-cris.c and elf32-cris.c.
(cpu-cris.lo, aout-cris.lo, elf32-cris.lo): New rules.
* Makefile.in: Rebuild.
* aclocal.m4: Rebuild.
* aoutx.h (NAME(aout,machine_type)): Add case for bfd_arch_cris.
* archures.c (enum bfd_architecture): Add bfd_arch_cris.
(bfd_cris_arch): Declare.
(bfd_archures_list): Add bfd_cris_arch.
* bfd-in2.h: Rebuild.
* config.bfd: (cris-*-*): New target.
* configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vectors.
* configure: Rebuild.
* elf.c (prep_headers): Add bfd_arch_cris.
* libbfd.h: Rebuild.
* libaout.h (enum machine_type): Add M_CRIS.
* reloc.c: Add CRIS relocations.
* targets.c (bfd_target bfd_elf32_cris_vec, cris_aout_vec):
Declare.
(bfd_target_vect): Add bfd_elf32_cris_vec and cris_aout_vec.
* cpu-cris.c, aout-cris.c, elf32-cris.c: New files.
* po/POTFILES.in, po/bfd.pot: Regenerate.
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r-- | bfd/aoutx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/aoutx.h b/bfd/aoutx.h index a7e46b7d21d..24903034540 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -800,6 +800,10 @@ NAME(aout,machine_type) (arch, machine, unknown) *unknown = false; break; + case bfd_arch_cris: + if (machine == 0 || machine == 255) arch_flags = M_CRIS; + break; + default: arch_flags = M_UNKNOWN; } |