This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 1db37fe62781b677a37acbe801c1e69d8912a124
- From: nickc at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 27 Feb 2014 14:41:39 -0000
- Subject: gdb and binutils branch master updated. 1db37fe62781b677a37acbe801c1e69d8912a124
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 1db37fe62781b677a37acbe801c1e69d8912a124 (commit)
from fa96cb382c12b099675c5cc238aaa7352a3fd3d7 (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=1db37fe62781b677a37acbe801c1e69d8912a124
commit 1db37fe62781b677a37acbe801c1e69d8912a124
Author: Yuri Gribov <y.gribov@samsung.com>
Date: Thu Feb 27 14:35:37 2014 +0000
This patch adds support for ARM PLT entries that support a full 32-bit offset range.
Enabled via the use of a new linker command line option: --long-plt.
* bfd-in.h: Add export of bfd_elf32_arm_use_long_plt.
* bfd-in2.h: Regenerate.
* elf32-arm.c (elf32_arm_plt_entry_long): New array.
(elf32_arm_link_hash_table_create): Set plt_entry_size to 16 if
using long PLT entries.
(bfd_elf32_arm_use_long_plt): New function.
(elf32_arm_populate_plt_entry): Add support for long PLT entries.
* emultempl/armelf.em (OPTION_LONG_PLT): Define.
(PARSE_AND_LIST_LONGOPTS): Add long-plt.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
* ld.texinfo: Document --long-plt.
* ld-arm/long-plt-format.s: New test case.
* ld-arm/long-plt-format.d: Expected disassembly.
* ld-arm/arm-elf.exp: Run the new test.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 10 ++++
bfd/bfd-in.h | 12 +++--
bfd/bfd-in2.h | 12 +++--
bfd/elf32-arm.c | 83 +++++++++++++++++++++++++--------
ld/ChangeLog | 8 +++
ld/emultempl/armelf.em | 14 ++++-
ld/ld.texinfo | 35 ++++++++------
ld/testsuite/ChangeLog | 6 ++
ld/testsuite/ld-arm/arm-elf.exp | 6 ++-
ld/testsuite/ld-arm/long-plt-format.d | 15 ++++++
ld/testsuite/ld-arm/long-plt-format.s | 7 +++
11 files changed, 162 insertions(+), 46 deletions(-)
create mode 100644 ld/testsuite/ld-arm/long-plt-format.d
create mode 100644 ld/testsuite/ld-arm/long-plt-format.s
hooks/post-receive
--
gdb and binutils