* elfxx-mips.c (struct mips_elf_link_hash_entry): Update comment.
authorDaniel Jacobowitz <drow@false.org>
Tue, 19 Apr 2005 18:33:20 +0000 (18:33 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 19 Apr 2005 18:33:20 +0000 (18:33 +0000)
(mips_elf_create_local_got_entry): Check h->root.forced_local.

bfd/ChangeLog
bfd/elfxx-mips.c

index f3d214894469834d092ebafda70109d835e309f7..3b77aefb91bf5b8f04bfc8888907a0183ca46a24 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-19  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elfxx-mips.c (struct mips_elf_link_hash_entry): Update comment.
+       (mips_elf_create_local_got_entry): Check h->root.forced_local.
+
 2005-04-19  Alan Modra  <amodra@bigpond.net.au>
 
        * elf32-ppc.c (ppc_elf_check_relocs): Don't bother with
index baf4dc956a0a2bebed2c7be9a79992d28fb60669..c84e9da6f7e020fb8c4bcd655c61d425a2966430 100644 (file)
@@ -242,7 +242,8 @@ struct mips_elf_link_hash_entry
      being called returns a floating point value.  */
   asection *call_fp_stub;
 
-  /* Are we forced local?  .*/
+  /* Are we forced local?  This will only be set if we have converted
+     the initial global GOT entry to a local GOT entry.  */
   bfd_boolean forced_local;
 
 #define GOT_NORMAL     0
@@ -2463,7 +2464,7 @@ mips_elf_create_local_got_entry (bfd *abfd, bfd *ibfd,
      global entry then.  It doesn't matter whether an entry is local
      or global for TLS, since the dynamic linker does not
      automatically relocate TLS GOT entries.  */
-  BFD_ASSERT (h == NULL || h->forced_local);
+  BFD_ASSERT (h == NULL || h->root.forced_local);
   if (TLS_RELOC_P (r_type))
     {
       struct mips_got_entry *p;
This page took 0.03663 seconds and 4 git commands to generate.