This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 52a82034ac9a288d2d8e60efa880623288b5d228
- From: amodra at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 3 Nov 2013 23:52:03 -0000
- Subject: gdb and binutils branch master updated. 52a82034ac9a288d2d8e60efa880623288b5d228
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 52a82034ac9a288d2d8e60efa880623288b5d228 (commit)
via a345bc8d317a159e3e887632d80c5a8282d34f07 (commit)
via 4115bfc68301edaca4dd1fd83eddeaafeda4c63c (commit)
via 14f2c476752f3cc4bfa7baee2a5a5183aafad975 (commit)
from 21354732de726f476c655a0c4834cc8ba3725460 (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=52a82034ac9a288d2d8e60efa880623288b5d228
commit 52a82034ac9a288d2d8e60efa880623288b5d228
Author: Alan Modra <amodra@gmail.com>
Date: Fri Nov 1 19:25:56 2013 +1030
Edit ELFv2 global entry prologue to non-PIC
Changing addis r2,r12,..; addi r2,r2,.. to lis r2,..; addi r2,r2..
in non-PIC executables has the benefit of removing a dependency on r12.
bfd/
* elf64-ppc.c (ppc64_elf_relocate_section): Edit global entry
prologue to non-PIC in non-PIC executables.
ld/testsuite/
* ld-powerpc/elfv2exe.d: Adjust for non-PIC global entry.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a345bc8d317a159e3e887632d80c5a8282d34f07
commit a345bc8d317a159e3e887632d80c5a8282d34f07
Author: Alan Modra <amodra@gmail.com>
Date: Fri Nov 1 19:24:20 2013 +1030
PowerPC64 ELFv2 symbols defined in plt
In a non-pic executable, ELFv2 like other targets, needs to emit a plt
entry even for non-call references to functions defined in shared
libraries, and define the function on the plt code.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Copy
pointer_equality_needed flag.
(ppc64_elf_check_relocs): For ELFv2 arrange to emit plt
entries for references to functions in shared libraries on
non-call relocs.
(readonly_dynrelocs): Split into function of the same name and..
(maybe_set_textrel): ..this new function. Update call.
(ppc64_elf_adjust_dynamic_symbol): Don't emit dynrelocs for
ELFv2 in most cases if we have a plt entry. Use new
readonly_relocs.
(allocate_dynrelocs): For ELFv2, don't allocate dynreloc space
for ifunc in static executables.
(size_global_entry_stubs): New function.
(ppc64_elf_size_dynamic_sections): Call size_global_entry_stubs.
Save end of glink branch table.
(ppc64_elf_hash_symbol): New function.
(build_global_entry_stubs): New function.
(ppc64_elf_build_stubs): Call build_global_entry_stubs. Adjust
glink sizing.
(ppc64_elf_relocate_section): Tidy plt16/32/64 reloc code.
(ppc64_elf_finish_dynamic_symbol): For ELFv2, adjust symbols
defined on plt code.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4115bfc68301edaca4dd1fd83eddeaafeda4c63c
commit 4115bfc68301edaca4dd1fd83eddeaafeda4c63c
Author: Alan Modra <amodra@gmail.com>
Date: Thu Oct 31 19:33:23 2013 +1030
Allow for extra st_other readelf output in ld testsuite
On PowerPC64 ELFv2 readelf emits [<localentry>: 8] describing extra
symbol st_other bits.
* ld-elfvers/vers24.rd: Allow extra readelf output after
symbol visibility.
* ld-ifunc/ifunc.exp: Likewise.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=14f2c476752f3cc4bfa7baee2a5a5183aafad975
commit 14f2c476752f3cc4bfa7baee2a5a5183aafad975
Author: Alan Modra <amodra@gmail.com>
Date: Thu Oct 31 19:30:24 2013 +1030
ld crossref test fix
* ld-scripts/crossref.exp: Don't allow changes made to CFLAGS
for this test to bleed into following tests. Don't set
-mcall-aixdesc for powerpc64le.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 30 +++
bfd/elf64-ppc.c | 332 +++++++++++++++++++++++++++++-----
ld/testsuite/ChangeLog | 16 ++
ld/testsuite/ld-elfvers/vers24.rd | 4 +-
ld/testsuite/ld-ifunc/ifunc.exp | 3 +-
ld/testsuite/ld-powerpc/elfv2exe.d | 4 +-
ld/testsuite/ld-scripts/crossref.exp | 12 +-
7 files changed, 346 insertions(+), 55 deletions(-)
hooks/post-receive
--
gdb and binutils