aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2014-11-22 08:58:07 -0800
committerH.J. Lu <hjl.tools@gmail.com>2014-11-22 08:58:07 -0800
commit35a14c6b54b63adc6b6ef28a4e4403bb271b9bdd (patch)
treebe0f5a56d4d72e205620f312fe0a4113754e1d08 /bfd/ChangeLog
parent84429e27c826c74b99791b8f1efe8dce03cfa6ca (diff)
downloadgdb-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/ChangeLog5
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