diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2014-02-02 10:57:52 -0800 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2014-02-02 10:57:52 -0800 |
commit | 82e9153868751875375955cf3de10f6e008ec6ae (patch) | |
tree | ef42d2a657195899a32e427e3496097179fe02da /bfd/ChangeLog | |
parent | 13075d049d492477dfbf795c305adbab5abb6d81 (diff) | |
download | gdb-82e9153868751875375955cf3de10f6e008ec6ae.zip gdb-82e9153868751875375955cf3de10f6e008ec6ae.tar.gz gdb-82e9153868751875375955cf3de10f6e008ec6ae.tar.bz2 |
Correct Nios II GOT pointer initialization.
2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
bfd/
* elf32-nios2.c (struct elf32_nios2_link_hash_table): Add
h_gp_got field.
(nios2_elf32_relocate_section): Use got_base to adjust
GOT-pointer-relative relocations relative to _gp_got.
(create_got_section): Create _gp_got symbol.
(nios2_elf32_finish_dynamic_symbol): Make _gp_got absolute.
(nios2_elf32_size_dynamic_sections): Set _gp_got offset.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a77013e..0d09b68 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,13 @@ +2014-02-02 Sandra Loosemore <sandra@codesourcery.com> + + * elf32-nios2.c (struct elf32_nios2_link_hash_table): Add + h_gp_got field. + (nios2_elf32_relocate_section): Use got_base to adjust + GOT-pointer-relative relocations relative to _gp_got. + (create_got_section): Create _gp_got symbol. + (nios2_elf32_finish_dynamic_symbol): Make _gp_got absolute. + (nios2_elf32_size_dynamic_sections): Set _gp_got offset. + 2014-01-30 Sandra Loosemore <sandra@codesourcery.com> * bfd-in2.h: Update from reloc.c. |