* elfxx-mips.c (_bfd_mips_elf_fake_sections): Don't emit unneeded
authorThiemo Seufer <ths@networkno.de>
Thu, 26 Sep 2002 09:10:57 +0000 (09:10 +0000)
committerThiemo Seufer <ths@networkno.de>
Thu, 26 Sep 2002 09:10:57 +0000 (09:10 +0000)
empty relocation sections.

bfd/ChangeLog
bfd/elfxx-mips.c

index a0f309c9c28837af0cb8511f0412c1d8c4f1b630..3d1c4aa0d303669a6060e7f47fc9067064b87f1b 100644 (file)
@@ -1,3 +1,8 @@
+2002-09-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * elfxx-mips.c (_bfd_mips_elf_fake_sections): Don't emit unneeded
+       empty relocation sections.
+
 2002-09-26  Alan Modra  <amodra@bigpond.net.au>
 
        * elf64-ppc.c (ppc_build_one_stub): Don't build glink stubs here.
index 8da904be7772ddea7514733e70d45f51b0bdb6a9..72f9a6bfdee873325026988d57330bfa2cda1395 100644 (file)
@@ -3644,7 +3644,7 @@ _bfd_mips_elf_fake_sections (abfd, hdr, sec)
      sh_offset == object size, and ld doesn't allow that.  While the check
      is arguably bogus for empty or SHT_NOBITS sections, it can easily be
      avoided by not emitting those useless sections in the first place.  */
-  if ((IRIX_COMPAT (abfd) != ict_irix5 && (IRIX_COMPAT (abfd) != ict_irix6))
+  if (! SGI_COMPAT (abfd) && ! NEWABI_P(abfd)
       && (sec->flags & SEC_RELOC) != 0)
     {
       struct bfd_elf_section_data *esd;
This page took 0.033637 seconds and 4 git commands to generate.