diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/config.bfd | 4 | ||||
-rw-r--r-- | bfd/elf32-mips.c | 3 |
3 files changed, 11 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4dcc14e..6323d6c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/config.bfd b/bfd/config.bfd index 2989ded..ed95238 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -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 diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 0f166a9..de0e529 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -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)); |