diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-11-22 08:58:07 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-11-22 08:58:07 -0800 |
commit | 35a14c6b54b63adc6b6ef28a4e4403bb271b9bdd (patch) | |
tree | be0f5a56d4d72e205620f312fe0a4113754e1d08 /bfd/ChangeLog | |
parent | 84429e27c826c74b99791b8f1efe8dce03cfa6ca (diff) | |
download | gdb-35a14c6b54b63adc6b6ef28a4e4403bb271b9bdd.zip gdb-35a14c6b54b63adc6b6ef28a4e4403bb271b9bdd.tar.gz gdb-35a14c6b54b63adc6b6ef28a4e4403bb271b9bdd.tar.bz2 |
Check branch displacement overflow in x86-64 PLT entry
Displacement of branch to PLT0 in x86-64 PLT entry is signed 32-bit.
This patch adds a sanity check. We will only see the failure when PLT
size is > 2GB.
* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Check
branch displacement overflow in PLT entry.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5700c51..040576a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2014-11-22 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Check + branch displacement overflow in PLT entry. + 2014-11-21 Nick Clifton <nickc@redhat.com> PR binutils/17512 |