diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2013-06-23 20:08:23 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2013-06-23 20:08:23 +0000 |
commit | 42429eacb42f0cc6dfe7fbd6d74a59e652945794 (patch) | |
tree | ef4905253809dfc1021442e57c5f8b49f837b51a /bfd/targets.c | |
parent | 88924e5fa2eb37b464c88f9527ad9bfc63672e9d (diff) | |
download | gdb-42429eacb42f0cc6dfe7fbd6d74a59e652945794.zip gdb-42429eacb42f0cc6dfe7fbd6d74a59e652945794.tar.gz gdb-42429eacb42f0cc6dfe7fbd6d74a59e652945794.tar.bz2 |
bfd/
* Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Move MIPS ELF
files to...
(BFD64_BACKENDS, BFD64_BACKENDS_CFILES): ...here.
* Makefile.in: Regenerate.
* config.bfd: Enclose all MIPS ELF targets in #ifdef BFD64.
Set want64 to true for them at the end.
* targets.c (_bfd_target_vector): Protect MIPS ELF targets with
#ifdef BFD64.
gas/
* config/tc-mips.c: Assert that offsetT and valueT are at least
8 bytes in size.
(GPR_SMIN, GPR_SMAX): New macros.
(macro, mips_ip): Remove code for 4-byte valueT and offsetT.
ld/
* Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to...
(ALL_64_EMULATION_SOURCES): ...here.
* Makefile.in: Regenerate.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r-- | bfd/targets.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c index c6794ee..e716c3b 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -982,8 +982,10 @@ static const bfd_target * const _bfd_target_vector[] = &bfd_elf32_bigarm_vec, &bfd_elf32_bigarm_symbian_vec, &bfd_elf32_bigarm_vxworks_vec, +#ifdef BFD64 &bfd_elf32_bigmips_vec, &bfd_elf32_bigmips_vxworks_vec, +#endif &bfd_elf32_bigmoxie_vec, &bfd_elf32_bignios2_vec, &bfd_elf32_cr16_vec, @@ -1024,8 +1026,10 @@ static const bfd_target * const _bfd_target_vector[] = &bfd_elf32_littlearm_vec, &bfd_elf32_littlearm_symbian_vec, &bfd_elf32_littlearm_vxworks_vec, +#ifdef BFD64 &bfd_elf32_littlemips_vec, &bfd_elf32_littlemips_vxworks_vec, +#endif &bfd_elf32_littlemoxie_vec, &bfd_elf32_littlenios2_vec, &bfd_elf32_m32c_vec, @@ -1100,10 +1104,12 @@ static const bfd_target * const _bfd_target_vector[] = &bfd_elf32_tilegx_be_vec, &bfd_elf32_tilegx_le_vec, &bfd_elf32_tilepro_vec, +#ifdef BFD64 &bfd_elf32_tradbigmips_vec, &bfd_elf32_tradlittlemips_vec, &bfd_elf32_tradbigmips_freebsd_vec, &bfd_elf32_tradlittlemips_freebsd_vec, +#endif &bfd_elf32_us_cris_vec, &bfd_elf32_v850_vec, &bfd_elf32_v850_rh850_vec, |