diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2001-04-08 05:11:49 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2001-04-08 05:11:49 +0000 |
commit | fdbafa100f18778c445ae309ab2c2e4fd83cf9d8 (patch) | |
tree | b62317c46cce3057aafe03377e07f1630e22a737 /bfd/elf64-mips.c | |
parent | af9539e4e537df73df80ac513416c37be5b5f6a0 (diff) | |
download | gdb-fdbafa100f18778c445ae309ab2c2e4fd83cf9d8.zip gdb-fdbafa100f18778c445ae309ab2c2e4fd83cf9d8.tar.gz gdb-fdbafa100f18778c445ae309ab2c2e4fd83cf9d8.tar.bz2 |
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 ce08ce4..d273e42 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" |