diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-09-19 16:21:59 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-09-19 16:21:59 +0000 |
commit | b55fd4d45d5ecbeed7c9c38b4c485218082348cc (patch) | |
tree | 9e5118f76722faffd456236ba2e6551a8e3ad526 /bfd/elfxx-mips.c | |
parent | 550c188837684e70efba06a9cb6d9f280be7c134 (diff) | |
download | gdb-b55fd4d45d5ecbeed7c9c38b4c485218082348cc.zip gdb-b55fd4d45d5ecbeed7c9c38b4c485218082348cc.tar.gz gdb-b55fd4d45d5ecbeed7c9c38b4c485218082348cc.tar.bz2 |
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make sure .got
will be output.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r-- | bfd/elfxx-mips.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 5abb968..a4c96e3 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) { |