gdb and binutils branch master updated. f5be95254d169859a5ebfbd4663a9cf669066968

aburgess@sourceware.org aburgess@sourceware.org
Wed Dec 24 21:32:00 GMT 2014


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  f5be95254d169859a5ebfbd4663a9cf669066968 (commit)
       via  edc9e9a62fddb2745093c1edafd0a2310e79a579 (commit)
      from  7a093a782000c0d0f1a50d6a74ee786695f52c86 (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=f5be95254d169859a5ebfbd4663a9cf669066968

commit f5be95254d169859a5ebfbd4663a9cf669066968
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date:   Tue Dec 23 17:46:45 2014 +0000

    AVR: Document linker relaxation related options.
    
    Adds documentation describing the -mlink-relax and -mno-link-relax
    command line options.
    
    gas/ChangeLog:
    
    	* doc/c-avr.texi: Document -mlink-relax and -mno-link-relax.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=edc9e9a62fddb2745093c1edafd0a2310e79a579

commit edc9e9a62fddb2745093c1edafd0a2310e79a579
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date:   Mon Oct 27 10:51:17 2014 +0000

    AVR: Assembler now prepares for linker relaxation by default.
    
    Have the assembler prepare for linker relaxation by default.  This
    means that users will be able to make use of linker relaxation without
    having to adjust the assembler flags, this can make life easier when
    compiling libraries.
    
    Having this on by default in the assembler should make no difference to
    the assembler code produced, however, some of the debug information will
    be slightly less compressed.
    
    A few tests needed to be updated as a result of this change as they
    relied on linker relaxation support being off by default.
    
    I've tightened up the definition of which sections can be relaxed on AVR
    as part of this commit, the assembler used to think that all
    non-debugging sections could be relaxed, when in reality only code
    sections can be relaxed for AVR.  The previous definition was not
    dangerous, just over cautious.  The new tighter definition allows an
    extra test (gas/testsuite/gas/all/forward.d) to continue to pass.
    
    gas/ChangeLog:
    
    	* config/tc-avr.c (struct avr_opt_s): Change link_relax to
    	no_link_relax, extend comment.
    	(enum options): Add new OPTION_NO_LINK_RELAX.
    	(md_longopts): Add entry for -mno-link-relax.
    	(md_parse_option): Handle OPTION_NO_LINK_RELAX, and update
    	OPTION_LINK_RELAX.
    	(md_begin): Initialise linkrelax from no_link_relax.
    	(md_show_usage): Include -mno-link-relax option.
    	(relaxable_section): Only allocatable code sections can be
    	relaxed.
    	* config/tc-avr.h (TC_LINKRELAX_FIXUP): Define.
    
    gas/testsuite/ChangeLog:
    
    	* gas/all/gas.exp: Test will not pass on AVR due to linker
    	relaxation support.
    	* gas/avr/noreloc_withoutrelax.d: Add -mno-link-relax option.
    	* gas/avr/link-relax-elf-flag-clear.d: Likewise.
    
    ld/testsuite/ChangeLog:
    
    	* ld/testsuite/ld-avr/relax-elf-flags-02.d: Add -mno-link-relax
    	option.
    	* ld/testsuite/ld-avr/relax-elf-flags-03.d: Likewise.
    	* ld/testsuite/ld-avr/relax-elf-flags-04.d: Likewise.
    	* ld/testsuite/ld-avr/relax-elf-flags-05.d: Likewise.
    	* ld/testsuite/ld-avr/relax-elf-flags-06.d: Likewise.

-----------------------------------------------------------------------

Summary of changes:
 gas/ChangeLog                                     |   17 ++++++++++++++
 gas/config/tc-avr.c                               |   24 ++++++++++++++-------
 gas/doc/c-avr.texi                                |   11 +++++++++
 gas/testsuite/ChangeLog                           |    7 ++++++
 gas/testsuite/gas/all/gas.exp                     |    3 +-
 gas/testsuite/gas/avr/link-relax-elf-flag-clear.d |    2 +-
 gas/testsuite/gas/avr/noreloc_withoutrelax.d      |    2 +-
 ld/testsuite/ChangeLog                            |    9 +++++++
 ld/testsuite/ld-avr/relax-elf-flags-02.d          |    2 +-
 ld/testsuite/ld-avr/relax-elf-flags-03.d          |    2 +-
 ld/testsuite/ld-avr/relax-elf-flags-04.d          |    4 +-
 ld/testsuite/ld-avr/relax-elf-flags-05.d          |    4 +-
 ld/testsuite/ld-avr/relax-elf-flags-06.d          |    2 +-
 13 files changed, 71 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
gdb and binutils



More information about the Binutils-cvs mailing list