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. 53291d1f1601d6958248dcfb755af470521c186a


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  53291d1f1601d6958248dcfb755af470521c186a (commit)
      from  f9e7e5d3e6b8715d702cf0d530e8ca6cd243cd8b (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=53291d1f1601d6958248dcfb755af470521c186a

commit 53291d1f1601d6958248dcfb755af470521c186a
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Feb 8 12:26:53 2014 +1030

    powerpc relax_section and section contents cache
    
    This patch provides a means for backend relax_section support to
    increase the size of a section without needing to reallocate
    section contents.  This helps reduce memory usage when the added space
    does not need to be written in relax_section, as is the case for
    powerpc.  Writing the stubs later means a few tweaks are needed in the
    powerpc relocate_section function, but also removes some code
    duplication since the extra ld -r relocs can be written there too.
    
    	* elf-bfd.h (struct elf_backend_data): Add caches_rawsize.
    	* elfxx-target.h (elf_backend_caches_rawsize): Define.
    	(elfNN_bed): Init new field.
    	* elflink.c (elf_link_input_bfd): Handle caches_rawsize.
    	* elf32-ppc.c (shared_stub_entry): Zero addi offset.
    	(ppc_elf_relax_section): Don't reallocate section here, write
    	stubs, or write out relocs for ld -r here..
    	(ppc_elf_relocate_section): ..instead write stubs here, and use
    	existing code to write out relocs for ld -r.  Fix offset
    	adjustment on reloc for little-endian.
    	(elf_backend_caches_rawsize): Define.

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

Summary of changes:
 bfd/ChangeLog      |   14 ++++
 bfd/elf-bfd.h      |    5 ++
 bfd/elf32-ppc.c    |  172 ++++++++++++++++++++--------------------------------
 bfd/elflink.c      |   11 +++-
 bfd/elfxx-target.h |    6 ++-
 5 files changed, 100 insertions(+), 108 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]