This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch binutils-2_24-branch updated. 58a19a05d4e88b74e17cfae6f1c1c5c5e7be1537
- From: hjl at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 27 May 2014 20:17:04 -0000
- Subject: gdb and binutils branch binutils-2_24-branch updated. 58a19a05d4e88b74e17cfae6f1c1c5c5e7be1537
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, binutils-2_24-branch has been updated
via 58a19a05d4e88b74e17cfae6f1c1c5c5e7be1537 (commit)
from c6badce4c1a34cdbd7384381ff99bffef7506044 (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=58a19a05d4e88b74e17cfae6f1c1c5c5e7be1537
commit 58a19a05d4e88b74e17cfae6f1c1c5c5e7be1537
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue May 27 12:19:33 2014 -0700
Properly handle 64-bit GOT relocations
This patch fixes 2 issues:
1. Since the GOT offset is always negative, we need to use signed int
to support 64-bit GOT relocations.
2. R_X86_64_PLTOFF64 uses the address of GLOBAL_OFFSET_TABLE, which is
the address of the .got.plt section, not the .got section.
PR gold/16945
* x86_64.cc (Target_x86_64::Relocate::relocate): Use signed int
for got_offset. Properly get GOT address for R_X86_64_PLTOFF64.
-----------------------------------------------------------------------
Summary of changes:
gold/ChangeLog | 6 ++++++
gold/x86_64.cc | 7 +++++--
2 files changed, 11 insertions(+), 2 deletions(-)
hooks/post-receive
--
gdb and binutils