This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. a82c7d9030b67a6a76a5403d0e1641f9e42141ac
- From: nickc at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 21 Mar 2014 11:54:40 -0000
- Subject: gdb and binutils branch master updated. a82c7d9030b67a6a76a5403d0e1641f9e42141ac
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 a82c7d9030b67a6a76a5403d0e1641f9e42141ac (commit)
from b65dc60b233704405c334bbe16c4fc5689187b7b (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=a82c7d9030b67a6a76a5403d0e1641f9e42141ac
commit a82c7d9030b67a6a76a5403d0e1641f9e42141ac
Author: David Weatherford <weath@cadence.com>
Date: Fri Mar 21 11:53:42 2014 +0000
Add support to the Xtensa target for creating trampolines for out-of-range branches.
* tc-xtensa.c (xtensa_check_frag_count, xtensa_create_trampoline_frag)
(xtensa_maybe_create_trampoline_frag, init_trampoline_frag)
(find_trampoline_seg, search_trampolines, get_best_trampoline)
(check_and_update_trampolines, add_jump_to_trampoline)
(dump_trampolines): New function.
(md_parse_option): Add cases for --[no-]trampolines options.
(md_assemble, finish_vinsn, xtensa_end): Add call to
xtensa_check_frag_count.
(xg_assemble_vliw_tokens): Add call to
xtensa_maybe_create_trampoline_frag.
(xtensa_relax_frag): Relax fragments with RELAX_TRAMPOLINE state.
(relax_frag_immed): Relax jump instructions that cannot reach its
target.
* tc-xtensa.h (xtensa_relax_statesE::RELAX_TRAMPOLINE): New relax
state.
* as.texinfo: Document --[no-]trampolines command-line options.
* c-xtensa.texi: Document trampolines relaxation and command line
options.
* frags.c (get_frag_count, clear_frag_count): New function.
(frag_alloc): Increment totalfrags counter.
* frags.h (get_frag_count, clear_frag_count): New function.
* all.exp: Add test for trampoline relaxation.
* trampoline.d: Trampoline relaxation expected dump.
* trampoline.s: Trampoline relaxation test source.
-----------------------------------------------------------------------
Summary of changes:
gas/ChangeLog | 26 ++
gas/config/tc-xtensa.c | 558 ++++++++++++++++++++++++++++++++-
gas/config/tc-xtensa.h | 5 +
gas/doc/as.texinfo | 1 +
gas/doc/c-xtensa.texi | 92 ++++++
gas/frags.c | 15 +
gas/frags.h | 3 +
gas/testsuite/ChangeLog | 7 +
gas/testsuite/gas/xtensa/all.exp | 1 +
gas/testsuite/gas/xtensa/trampoline.d | 26 ++
gas/testsuite/gas/xtensa/trampoline.s | 21 ++
11 files changed, 753 insertions(+), 2 deletions(-)
create mode 100644 gas/testsuite/gas/xtensa/trampoline.d
create mode 100644 gas/testsuite/gas/xtensa/trampoline.s
hooks/post-receive
--
gdb and binutils