This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 614b09cefb3bafa840fe5ed06c58024b0ff9c1cb
- From: jiwang at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 26 Aug 2014 14:50:41 -0000
- Subject: gdb and binutils branch master updated. 614b09cefb3bafa840fe5ed06c58024b0ff9c1cb
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 614b09cefb3bafa840fe5ed06c58024b0ff9c1cb (commit)
from 2836a869c4607fd1200b928986092ffed20c1d32 (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=614b09cefb3bafa840fe5ed06c58024b0ff9c1cb
commit 614b09cefb3bafa840fe5ed06c58024b0ff9c1cb
Author: Jiong Wang <jiong.wang@arm.com>
Date: Tue Aug 26 15:48:47 2014 +0100
[AArch64] Improve copy relocation support on four absolute relocation types
2014-08-26 Jiong Wang <jiong.wang@arm.com>
bfd/
* elfnn-aarch64.c (elfNN_aarch64_check_relocs): Initialize non_got_ref
properly for MOVW_G0/1/2_NC and MOVW_G3. Reject them when linking
shared library.
(elfNN_aarch64_gc_sweep_hook): Add check on these relocs.
ld/testsuite/
* ld-aarch64/copy-relocs-so.s: New test file.
* ld-aarch64/copy-relocs-exe.s: Likewise.
* ld-aarch64/copy-relocs.d: New expectation file.
* ld-aarch64/emit-relocs-264-bad.d: New test file.
* ld-aarch64/emit-relocs-266-bad.d: Likewise.
* ld-aarch64/emit-relocs-268-bad.d: Likewise.
* ld-aarch64/emit-relocs-269-bad.d: Likewise.
* ld-aarch64/aarch64-elf.exp: Run new added test.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 7 +++++
bfd/elfnn-aarch64.c | 33 +++++++++++++++++-------
ld/testsuite/ChangeLog | 11 ++++++++
ld/testsuite/ld-aarch64/aarch64-elf.exp | 13 ++++++++++
ld/testsuite/ld-aarch64/copy-reloc-exe.s | 7 +++++
ld/testsuite/ld-aarch64/copy-reloc-so.s | 6 ++++
ld/testsuite/ld-aarch64/copy-reloc.d | 4 +++
ld/testsuite/ld-aarch64/emit-relocs-264-bad.d | 3 ++
ld/testsuite/ld-aarch64/emit-relocs-266-bad.d | 3 ++
ld/testsuite/ld-aarch64/emit-relocs-268-bad.d | 3 ++
ld/testsuite/ld-aarch64/emit-relocs-269-bad.d | 3 ++
11 files changed, 83 insertions(+), 10 deletions(-)
create mode 100644 ld/testsuite/ld-aarch64/copy-reloc-exe.s
create mode 100644 ld/testsuite/ld-aarch64/copy-reloc-so.s
create mode 100644 ld/testsuite/ld-aarch64/copy-reloc.d
create mode 100644 ld/testsuite/ld-aarch64/emit-relocs-264-bad.d
create mode 100644 ld/testsuite/ld-aarch64/emit-relocs-266-bad.d
create mode 100644 ld/testsuite/ld-aarch64/emit-relocs-268-bad.d
create mode 100644 ld/testsuite/ld-aarch64/emit-relocs-269-bad.d
hooks/post-receive
--
gdb and binutils