This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 1058c7532d0b012ac329219264ddad59049fb6e6
- From: jcmvbkbc at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 7 May 2014 21:57:16 -0000
- Subject: gdb and binutils branch master updated. 1058c7532d0b012ac329219264ddad59049fb6e6
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 1058c7532d0b012ac329219264ddad59049fb6e6 (commit)
from e59bc75b6546db04b0f3e1d760567f83ffc801f3 (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=1058c7532d0b012ac329219264ddad59049fb6e6
commit 1058c7532d0b012ac329219264ddad59049fb6e6
Author: Volodymyr Arbatov <arbatov@cadence.com>
Date: Mon May 6 09:43:21 2013 -0800
Use signed data type for R_XTENSA_DIFF* relocation offsets.
R_XTENSA_DIFF relocation offsets are in fact signed. Treat them as such.
Add testcase that examines ld behaviour on R_XTENSA_DIFF relocation
changing sign during relaxation.
2014-05-02 Volodymyr Arbatov <arbatov@cadence.com>
David Weatherford <weath@cadence.com>
Max Filippov <jcmvbkbc@gmail.com>
bfd/
* elf32-xtensa.c (relax_section): treat R_XTENSA_DIFF* relocations as
signed.
gas/
* config/tc-xtensa.c (md_apply_fix): mark BFD_RELOC_XTENSA_DIFF*
fixups as signed.
ld/testsuite/
* ld-xtensa/diff_overflow.exp, * ld-xtensa/diff_overflow1.s,
* ld-xtensa/diff_overflow2.s: Add test for DIFF* relocation
signedness and overflow checking.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 7 ++++
bfd/elf32-xtensa.c | 32 +++++++++++----------
gas/ChangeLog | 5 +++
gas/config/tc-xtensa.c | 3 ++
ld/testsuite/ChangeLog | 6 ++++
ld/testsuite/ld-xtensa/diff_overflow.exp | 45 ++++++++++++++++++++++++++++++
ld/testsuite/ld-xtensa/diff_overflow1.s | 27 ++++++++++++++++++
ld/testsuite/ld-xtensa/diff_overflow2.s | 22 ++++++++++++++
8 files changed, 132 insertions(+), 15 deletions(-)
create mode 100644 ld/testsuite/ld-xtensa/diff_overflow.exp
create mode 100644 ld/testsuite/ld-xtensa/diff_overflow1.s
create mode 100644 ld/testsuite/ld-xtensa/diff_overflow2.s
hooks/post-receive
--
gdb and binutils