aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2006-03-13 19:14:23 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2006-03-13 19:14:23 +0000
commitd329bcd1dfdb69f429ad8e5f4868ee845a4debe6 (patch)
treefdbb6cc05ab2e2be5e162131f3dc0020e30d4def /bfd/elfxx-mips.c
parent9282a629621f5fed75beb09987ffb7d8594d74f4 (diff)
downloadgdb-d329bcd1dfdb69f429ad8e5f4868ee845a4debe6.zip
gdb-d329bcd1dfdb69f429ad8e5f4868ee845a4debe6.tar.gz
gdb-d329bcd1dfdb69f429ad8e5f4868ee845a4debe6.tar.bz2
bfd/
* elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 89acbc5..98974bd 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -3576,6 +3576,7 @@ mips_elf_create_got_section (bfd *abfd, struct bfd_link_info *info,
h->non_elf = 0;
h->def_regular = 1;
h->type = STT_OBJECT;
+ elf_hash_table (info)->hgot = h;
if (info->shared
&& ! bfd_elf_link_record_dynamic_symbol (info, h))