diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2006-03-13 19:14:23 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2006-03-13 19:14:23 +0000 |
commit | 5bc8c785a2b67b08d55e7241e01da4e1821307b7 (patch) | |
tree | f49688032c03dbc526c6c2c78b993376a309b380 | |
parent | 1afa3e97550e79faef6ef4e629eef4772ea379ed (diff) | |
download | gdb-5bc8c785a2b67b08d55e7241e01da4e1821307b7.tar.gz |
bfd/
* elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elfxx-mips.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 444a14ea0b8..70ab5984603 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2006-03-13 Richard Sandiford <richard@codesourcery.com> + + * elfxx-mips.c (mips_elf_create_got_section): Initialize hgot. + 2006-03-11 H.J. Lu <hongjiu.lu@intel.com> PR ld/2443 diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 89acbc57a34..98974bde8a8 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)) |