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 /gdb/python/py-lazy-string.c | |
| parent | 84429e27c826c74b99791b8f1efe8dce03cfa6ca (diff) | |
| download | binutils-35a14c6b54b63adc6b6ef28a4e4403bb271b9bdd.zip binutils-35a14c6b54b63adc6b6ef28a4e4403bb271b9bdd.tar.gz binutils-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 'gdb/python/py-lazy-string.c')
0 files changed, 0 insertions, 0 deletions
