2001-06-07 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 7 Jun 2001 17:31:22 +0000 (17:31 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 7 Jun 2001 17:31:22 +0000 (17:31 +0000)
* elf32-mips.c (_bfd_mips_elf_object_p): Set the bad symtab
for SGI only.

* config.bfd: Remove ecoff from Linux/mips.

bfd/ChangeLog
bfd/config.bfd
bfd/elf32-mips.c

index 4dcc14ec5d5b5b19f22c63cab96737cb81672fcd..6323d6c6a4db4bed3dd2d40fa79e6bbee272f512 100644 (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
index 2989dedb1b1c527919439b5642ef4146282bf053..ed952382a2a21223fd073212db1f97f55bff9c49 100644 (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
index 0f166a9037faa8aa867e9b16f38d89f8f25770d6..de0e529a8ba61ac6924dae146f6402256cfec819 100644 (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));