diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-02-24 05:42:27 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-02-24 05:49:48 -0800 |
commit | 13f422778ff5307dad1f66d25a1d211bb8f76a8b (patch) | |
tree | f06e0ab10c988cf256ad0e0ef88cb32ea7ac06a2 /bfd/ChangeLog | |
parent | bf74e428bca61022bd5cdf6bf28789a184748b4d (diff) | |
download | gdb-13f422778ff5307dad1f66d25a1d211bb8f76a8b.zip gdb-13f422778ff5307dad1f66d25a1d211bb8f76a8b.tar.gz gdb-13f422778ff5307dad1f66d25a1d211bb8f76a8b.tar.bz2 |
Set plt_got.offset to (bfd_vma) -1
Since plt_got.offset may be updated in x86 allocate_dynrelocs, set
plt_got.offset to (bfd_vma) -1 when setting needs_plt to 0.
* elf32-i386.c (elf_i386_allocate_dynrelocs): Set plt_got.offset
to (bfd_vma) -1 when setting needs_plt to 0.
* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0ed70b4..e48f76b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2016-02-24 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_allocate_dynrelocs): Set plt_got.offset + to (bfd_vma) -1 when setting needs_plt to 0. + * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise. + 2016-02-23 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (bfd_elf_record_link_assignment): Check for shared |