This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb and binutils branch master updated. fa72205cb90527fd34753203993859907a53ead2


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  fa72205cb90527fd34753203993859907a53ead2 (commit)
      from  24ef1aa73ed312282bd1a755b3ac94681c9f1544 (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=fa72205cb90527fd34753203993859907a53ead2

commit fa72205cb90527fd34753203993859907a53ead2
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Jan 20 21:28:42 2014 +1030

    Allow self-assignment for absolute symbols defined in a linker script
    
    Modifies ld machinery tracking linker script assignments to notice all
    assignments, not just those symbols mentioned in DEFINED().
    
    ld/
    	PR ld/14962
    	* ldlang.h (struct lang_definedness_hash_entry): Add by_object and
    	by_script.  Make iteration a single bit field.
    	(lang_track_definedness, lang_symbol_definition_iteration): Delete.
    	(lang_symbol_defined): Declare.
    	* ldlang.c (lang_statement_iteration): Expand comment a little.
    	(lang_init <lang_definedness_table>): Make it bigger.
    	(lang_track_definedness, lang_symbol_definition): Delete.
    	(lang_definedness_newfunc): Update.
    	(lang_symbol_defined): New function.
    	(lang_update_definedness): Create entries here.  Do track whether
    	script definition of symbol is valid, even when also defined in
    	an object file.
    	* ldexp.c (fold_name <DEFINED>): Update.
    	(fold_name <NAME>): Allow self-assignment for absolute symbols
    	defined in a linker script.
    ld/testsuite/
    	* ld-scripts/pr14962-2.d,
    	* ld-scripts/pr14962-2.t: New test.
    	* ld-scripts/expr.exp: Run it.

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

Summary of changes:
 ld/ChangeLog                        |   18 ++++++++
 ld/ldexp.c                          |   31 +++++++++++----
 ld/ldlang.c                         |   74 ++++++++++++-----------------------
 ld/ldlang.h                         |    7 ++-
 ld/testsuite/ChangeLog              |    6 +++
 ld/testsuite/ld-scripts/expr.exp    |    1 +
 ld/testsuite/ld-scripts/pr14962-2.d |   10 +++++
 ld/testsuite/ld-scripts/pr14962-2.t |   11 +++++
 8 files changed, 98 insertions(+), 60 deletions(-)
 create mode 100644 ld/testsuite/ld-scripts/pr14962-2.d
 create mode 100644 ld/testsuite/ld-scripts/pr14962-2.t


hooks/post-receive
-- 
gdb and binutils


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]