* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make sure .got

will be output.
This commit is contained in:
Daniel Jacobowitz 2007-09-19 16:21:59 +00:00
parent 550c188837
commit b55fd4d45d
2 changed files with 7 additions and 1 deletions

View 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>

View 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)
{