2001-06-07 H.J. Lu <hjl@gnu.org>

* elf32-mips.c (_bfd_mips_elf_object_p): Set the bad symtab
	for SGI only.

	* config.bfd: Remove ecoff from Linux/mips.
This commit is contained in:
H.J. Lu 2001-06-07 17:31:22 +00:00
parent df3bcd6f73
commit c36e006fbc
3 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2001-06-07 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (_bfd_mips_elf_object_p): Set the bad symtab
for SGI only.
* config.bfd: Remove ecoff from Linux/mips.
2001-06-07 Andreas Jaeger <aj@suse.de>
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Add an

View file

@ -675,7 +675,7 @@ case "${targ}" in
;;
mips*el*-*-linux-gnu*)
targ_defvec=bfd_elf32_tradlittlemips_vec
targ_selvecs="bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec ecoff_little_vec ecoff_big_vec"
targ_selvecs="bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec"
;;
mips*-*-openbsd*)
targ_defvec=bfd_elf32_bigmips_vec
@ -683,7 +683,7 @@ case "${targ}" in
;;
mips*-*-linux-gnu*)
targ_defvec=bfd_elf32_tradbigmips_vec
targ_selvecs="bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_big_vec ecoff_little_vec"
targ_selvecs="bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec"
;;
mn10200-*-*)
targ_defvec=bfd_elf32_mn10200_vec

View file

@ -2331,7 +2331,8 @@ _bfd_mips_elf_object_p (abfd)
/* Irix 5 and 6 is broken. Object file symbol tables are not always
sorted correctly such that local symbols precede global symbols,
and the sh_info field in the symbol table is not always right. */
elf_bad_symtab (abfd) = true;
if (SGI_COMPAT(abfd))
elf_bad_symtab (abfd) = true;
bfd_default_set_arch_mach (abfd, bfd_arch_mips,
elf_mips_mach (elf_elfheader (abfd)->e_flags));