diff options
author | H.J. Lu <hjl@lucon.org> | 2001-04-08 05:11:49 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2001-04-08 05:11:49 +0000 |
commit | 4918f14e047d194e71df83bba86bc63dfc90c321 (patch) | |
tree | 9ae2bd59a1463e65050af35c39db8b32adcde82d /bfd/elf64-mips.c | |
parent | 2e60d113b225bd8fb6a28d2312ea91a58be31356 (diff) | |
download | binutils-redhat-4918f14e047d194e71df83bba86bc63dfc90c321.tar.gz |
2001-04-05 Steven J. Hill <sjhill@cotw.com>
* config.bfd (mips*el*-*-linux-gnu*): Use traditional little
endian MIPS ELF target.
* config.bfd (mips*-*-linux-gnu*): Use traditional big endian
MIPS ELF target.
* configure.in (bfd_elf64_tradbigmips_vec): New. Traditional
64bit big endian MIPS ELF target.
(bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
endian MIPS ELF target.
* configure: Regenerated.
* elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and
little endian targets.
(mips_elf_sym_is_global): Handle traditional targets.
* elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional
64bit big endian MIPS ELF target.
(bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
endian MIPS ELF target.
* targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec
and bfd_elf64_tradlittlemips_vec.
Diffstat (limited to 'bfd/elf64-mips.c')
-rw-r--r-- | bfd/elf64-mips.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c index ce08ce48e0..d273e42799 100644 --- a/bfd/elf64-mips.c +++ b/bfd/elf64-mips.c @@ -2189,3 +2189,20 @@ const struct elf_size_info mips_elf64_size_info = _bfd_archive_coff_update_armap_timestamp #include "elf64-target.h" + +/* Support for traditional mips targets */ + +#define INCLUDED_TARGET_FILE /* More a type of flag */ + +#undef TARGET_LITTLE_SYM +#undef TARGET_LITTLE_NAME +#undef TARGET_BIG_SYM +#undef TARGET_BIG_NAME + +#define TARGET_LITTLE_SYM bfd_elf64_tradlittlemips_vec +#define TARGET_LITTLE_NAME "elf64-tradlittlemips" +#define TARGET_BIG_SYM bfd_elf64_tradbigmips_vec +#define TARGET_BIG_NAME "elf64-tradbigmips" + +/* Include the target file again for this target */ +#include "elf64-target.h" |