This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 70e99720f9d558263756a482ae750b263ffd92ba
- From: nickc at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 16 Sep 2014 12:10:57 -0000
- Subject: gdb and binutils branch master updated. 70e99720f9d558263756a482ae750b263ffd92ba
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 70e99720f9d558263756a482ae750b263ffd92ba (commit)
from 428b16bd5a3947e3a608f0c6751a8be7dbd88959 (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=70e99720f9d558263756a482ae750b263ffd92ba
commit 70e99720f9d558263756a482ae750b263ffd92ba
Author: Terry Guo <terry.guo@arm.com>
Date: Tue Sep 16 13:08:22 2014 +0100
Make the linker return an error status if it fails to merge ARM binaries with
different architecture tags. Add a test case to make sure that this works,
and update readelf so that it will not seg-fault when trying to display the
attributes of binaries with invalid architecture tags.
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Return false if
failed to merge.
* ld-arm/attr-merge-arch-2.d: New test case.
* ld-arm/attr-merge-arch-2a.s: New test case source file.
* ld-arm/attr-merge-arch-2b.s: Likewise.
* ld-arm/arm-elf.exp: Run new test case.
* readelf.c (display_arm_attribute): Use unsigned int type for
tag, val and type variables.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 5 +++++
bfd/elf32-arm.c | 19 ++++++++++++++-----
binutils/ChangeLog | 5 +++++
binutils/readelf.c | 10 +++++-----
ld/testsuite/ChangeLog | 7 +++++++
ld/testsuite/ld-arm/arm-elf.exp | 1 +
ld/testsuite/ld-arm/attr-merge-arch-2.d | 5 +++++
ld/testsuite/ld-arm/attr-merge-arch-2a.s | 18 ++++++++++++++++++
ld/testsuite/ld-arm/attr-merge-arch-2b.s | 8 ++++++++
9 files changed, 68 insertions(+), 10 deletions(-)
create mode 100644 ld/testsuite/ld-arm/attr-merge-arch-2.d
create mode 100644 ld/testsuite/ld-arm/attr-merge-arch-2a.s
create mode 100644 ld/testsuite/ld-arm/attr-merge-arch-2b.s
hooks/post-receive
--
gdb and binutils