From: Daniel Jacobowitz Date: Wed, 19 Sep 2007 16:21:59 +0000 (+0000) Subject: * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make sure .got X-Git-Tag: sid-snapshot-20071001~159 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b55fd4d45d5ecbeed7c9c38b4c485218082348cc;p=thirdparty%2Fbinutils-gdb.git * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make sure .got will be output. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 279e70ef91d..38eef540645 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2007-09-19 Daniel Jacobowitz + + * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make sure .got + will be output. + 2007-09-19 Alan Modra Doug Kwan diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 5abb968a96d..a4c96e34dbb 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -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) {