* elf-bfd.h (struct elf_link_hash_table): Add hgot field.
authorIan Lance Taylor <ian@airs.com>
Tue, 2 Apr 1996 19:57:33 +0000 (19:57 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 2 Apr 1996 19:57:33 +0000 (19:57 +0000)
commit19bfbcbecf49abb63d85b0244dc10770e3b4ac9a
treebcb51a8133c664730198d4e418b454e4bd93dd5b
parent1dad72bde57b9d2f3a0e128000dc7220c33fe415
* elf-bfd.h (struct elf_link_hash_table): Add hgot field.
* elf.c (_bfd_elf_link_hash_table_init): Initialize hgot field.
* elflink.c (_bfd_elf_create_got_section): Store the
_GLOBAL_OFFSET_TABLE_ hash table entry in the hgot field.
* elf32-sparc.c (elf32_sparc_check_relocs): If the size of the
global offset table goes over 0x1000, set the value of
_GLOBAL_OFFSET_TABLE_ to 0x1000 into the section.
(elf32_sparc_relocate_section): Subtract the offset of
_GLOBAL_OFFSET_TABLE_ when handling GOT relocations.
PR 9323.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elf32-sparc.c