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. 6fcc66ab70d67efb1a8b96532b5eb96883caa727


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  6fcc66ab70d67efb1a8b96532b5eb96883caa727 (commit)
       via  b75d42bce5609effad86fb8b5d902f4c337e0cf9 (commit)
      from  ab7f45ba10d0a1a636a5ce7b4784a1d6ce3e94a3 (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=6fcc66ab70d67efb1a8b96532b5eb96883caa727

commit 6fcc66ab70d67efb1a8b96532b5eb96883caa727
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Jan 16 11:47:25 2014 +1030

    Tidy ld use of bfd_section userdata.
    
    A long time ago ld made use of userdata to tie an output section to
    its lang_input_statement_struct object file.  Some time later Joern
    made map file printing of symbols at lot faster, using userdata on
    input sections.  That complicated allocation of userdata, and when the
    output section use disappeared a year later, the code wasn't properly
    cleaned up.  This patch does that cleanup, and also tidies the symbol
    printing code to not allocate userdata where it won't be needed.  We
    don't print symbols defined in the absolute section or in output
    sections.
    
    	* ld.h (fat_section_userdata_type, get_userdata): Move to..
    	* ldlang.h (input_section_userdata_type, get_userdata): ..here.
    	* ldlang.c (init_map_userdata): Delete.  Fold into..
    	(sort_def_symbol): ..here.  Don't attach input section userdata
    	to output sections or global bfd sections.
    	(lang_map): Don't pre-allocate input section userdata.
    	(init_os): Don't allocate userdata for output sections.
    	(print_all_symbols): Update.

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

commit b75d42bce5609effad86fb8b5d902f4c337e0cf9
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Jan 16 11:50:28 2014 +1030

    Fix mips segfault on GOT access of absolute symbol
    
    When a symbol is absolute, this code in mips_elf_record_got_page_entry
          entry = bfd_zalloc (sec->owner, sizeof (*entry));
    segfaults.  sec == bfd_abs_section_ptr and sec->owner == NULL.
    
    	* elfxx-mips.c (mips_elf_record_got_page_entry): Pass in a
    	mips_elf_traverse_got_arg* rather than mips_got_info*.
    	Adjust caller.  Alloc on output_bfd rather than symbol section
    	owner.

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

Summary of changes:
 bfd/ChangeLog    |    7 ++++++
 bfd/elfxx-mips.c |    9 ++++---
 ld/ChangeLog     |   11 ++++++++++
 ld/ld.h          |   12 -----------
 ld/ldlang.c      |   56 ++++++++++++++---------------------------------------
 ld/ldlang.h      |   12 +++++++++++
 6 files changed, 50 insertions(+), 57 deletions(-)


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]