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. bffebb6ba5b4ddbca7353626d682f9f974584dbf


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  bffebb6ba5b4ddbca7353626d682f9f974584dbf (commit)
      from  161ac41e03a819bc34e8c70a3fd1bc26f43858a2 (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=bffebb6ba5b4ddbca7353626d682f9f974584dbf

commit bffebb6ba5b4ddbca7353626d682f9f974584dbf
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Jul 8 15:24:06 2014 +0930

    Copy st_other for linker script symbol assignments
    
    This fixes a problem seen on powerpc64le ELFv2 when creating a
    function symbol alias with ld --defsym.  st_other needs to be copied
    from the source symbol to the alias in order to set up the local entry
    offset for the alias.  I decided to make this change in the generic
    ELF code rather than in elf64-ppc.c since it looks like other targets
    that use st_other bits might benefit too.
    
    bfd/
    	* elflink.c (_bfd_elf_copy_link_hash_symbol_type): Copy st_other
    	bits from source to dest.
    	* linker.c (_bfd_generic_copy_link_hash_symbol_type): Update comment.
    	* targets.c (struct bfd_target <_bfd_copy_link_hash_symbol_type>):
    	Likewise.
    	* bfd-in2.h: Regenerate.
    ld/testsuite/
    	* ld-powerpc/defsym.s, * ld-powerpc/defsym.d: New test.
    	* ld-powerpc/powerpc.exp: Run it.

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

Summary of changes:
 bfd/ChangeLog                       |    9 +++++++++
 bfd/bfd-in2.h                       |    3 ++-
 bfd/elflink.c                       |   19 +++++++++++++------
 bfd/linker.c                        |    9 ++++-----
 bfd/targets.c                       |    3 ++-
 ld/testsuite/ChangeLog              |    5 +++++
 ld/testsuite/ld-powerpc/defsym.d    |   26 ++++++++++++++++++++++++++
 ld/testsuite/ld-powerpc/defsym.s    |   19 +++++++++++++++++++
 ld/testsuite/ld-powerpc/powerpc.exp |    1 +
 9 files changed, 81 insertions(+), 13 deletions(-)
 create mode 100644 ld/testsuite/ld-powerpc/defsym.d
 create mode 100644 ld/testsuite/ld-powerpc/defsym.s


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]