[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/17618] Linker fails to check PC-relative offset overflow in PLT
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/17618] Linker fails to check PC-relative offset overflow in PLT entry |
Date: |
Tue, 18 Nov 2014 19:06:00 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17618
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via ab7fede88eddf004994f8769e3c7ac145628f5b4 (commit)
from 439247b656ce3bcfaa00fec7dbce70e65ca17cf5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ab7fede88eddf004994f8769e3c7ac145628f5b4
commit ab7fede88eddf004994f8769e3c7ac145628f5b4
Author: H.J. Lu <address@hidden>
Date: Tue Nov 18 11:03:09 2014 -0800
Check PC-relative offset overflow in PLT entry
This patch checks PC-relative offset overflow in pushq instruction in
x86-64 PLT entry.
bfd/
PR ld/17618
* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Check
PC-relative offset overflow in PLT entry.
ld/testsuite/
PR ld/17618
* ld-x86-64/x86-64.exp: Run pr17618 for Linux target.
* ld-x86-64/pr17618.d: New file.
* ld-x86-64/pr17618.s: Likewise.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 6 ++++++
bfd/elf64-x86-64.c | 27 +++++++++++++++++++--------
ld/testsuite/ChangeLog | 8 ++++++++
ld/testsuite/ld-x86-64/pr17618.d | 4 ++++
ld/testsuite/ld-x86-64/pr17618.s | 18 ++++++++++++++++++
ld/testsuite/ld-x86-64/x86-64.exp | 7 +++++++
6 files changed, 62 insertions(+), 8 deletions(-)
create mode 100644 ld/testsuite/ld-x86-64/pr17618.d
create mode 100644 ld/testsuite/ld-x86-64/pr17618.s
--
You are receiving this mail because:
You are on the CC list for the bug.