public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [committed] Fix missing hgot assignment in elfxx-mips.c
@ 2006-03-13 19:18 Richard Sandiford
  0 siblings, 0 replies; only message in thread
From: Richard Sandiford @ 2006-03-13 19:18 UTC (permalink / raw)
  To: binutils

A couple of weeks back, I added a "hgot" field to bfd_elf_link_hash_table,
but I'd managed to miss where it was created.  Fixed below.  Tested on
mips64-linux-gnu and installed as obvious.

Sorry for the oversight.

Richard


bfd/
	* elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.

Index: bfd/elfxx-mips.c
===================================================================
RCS file: /cvs/src/src/bfd/elfxx-mips.c,v
retrieving revision 1.159
diff -c -p -r1.159 elfxx-mips.c
*** bfd/elfxx-mips.c	27 Feb 2006 08:48:28 -0000	1.159
--- bfd/elfxx-mips.c	13 Mar 2006 19:12:58 -0000
*************** mips_elf_create_got_section (bfd *abfd, 
*** 3576,3581 ****
--- 3576,3582 ----
    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))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-13 19:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-13 19:18 [committed] Fix missing hgot assignment in elfxx-mips.c Richard Sandiford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).