aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-04-27 00:31:17 +0000
committerAlan Modra <amodra@gmail.com>2000-04-27 00:31:17 +0000
commitdd5724d5231bacd3bdb04bb8572fb9201ee5538e (patch)
tree3f9d95abc006131f7abd82d3a4fdccb4dc52a184 /bfd/elflink.h
parentb2f4b24dd7649bc0ab581a400d0f84b866cb6c1c (diff)
downloadgdb-dd5724d5231bacd3bdb04bb8572fb9201ee5538e.zip
gdb-dd5724d5231bacd3bdb04bb8572fb9201ee5538e.tar.gz
gdb-dd5724d5231bacd3bdb04bb8572fb9201ee5538e.tar.bz2
Reference count .plt and .got on x86 for garbage collection code. Fix a
couple of m68k and ppc bugs discovered while testing x86 gc.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index bddf290..b5e4eee 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -6615,7 +6615,8 @@ elf_gc_common_finalize_got_offsets (abfd, info)
}
}
- /* Then the global .got and .plt entries. */
+ /* Then the global .got entries. .plt refcounts are handled by
+ adjust_dynamic_symbol */
elf_link_hash_traverse (elf_hash_table (info),
elf_gc_allocate_got_offsets,
(PTR) &gotoff);