OSDN Git Service

* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make sure .got
authorDaniel Jacobowitz <dan@debian.org>
Wed, 19 Sep 2007 16:21:59 +0000 (16:21 +0000)
committerDaniel Jacobowitz <dan@debian.org>
Wed, 19 Sep 2007 16:21:59 +0000 (16:21 +0000)
will be output.

bfd/ChangeLog
bfd/elfxx-mips.c

index 279e70e..38eef54 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-19  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make sure .got
+       will be output.
+
 2007-09-19  Alan Modra  <amodra@bigpond.net.au>
            Doug Kwan  <dougkwan@google.com>
 
index 5abb968..a4c96e3 100644 (file)
@@ -8908,7 +8908,8 @@ _bfd_mips_elf_finish_dynamic_sections (bfd *output_bfd,
        memset (b - dyn_skipped, 0, dyn_skipped);
     }
 
-  if (sgot != NULL && sgot->size > 0)
+  if (sgot != NULL && sgot->size > 0
+      && !bfd_is_abs_section (sgot->output_section))
     {
       if (htab->is_vxworks)
        {