gdb and binutils branch master updated. 7341d5e22f1061016411734ba162d362ac5928db
amodra@sourceware.org
amodra@sourceware.org
Tue Jul 1 11:10:00 GMT 2014
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 7341d5e22f1061016411734ba162d362ac5928db (commit)
via 2dc0e7b400e46f105960c0dfcd431013f0013c6a (commit)
via 810d4e754dad3e5431399de7b5bacb831b899320 (commit)
from f36e88862f94c15a88fa27df7af906ad75a42e7f (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=7341d5e22f1061016411734ba162d362ac5928db
commit 7341d5e22f1061016411734ba162d362ac5928db
Author: Alan Modra <amodra@gmail.com>
Date: Tue Jul 1 19:32:25 2014 +0930
Add symbols for global entry stub, and report stats
The undefined function symbols (with non-zero value) on global entry
stubs are discarded by objdump when disassembling, so give objdump
another symbol to mark the stubs.
Also fixes a couple of bugs:
- entry_section was set to .opd for ELFv2, which meant a hard error
rather than a warning when _start wasn't defined.
- global entry stubs were not built if they were the only type of
stub in an executable.
bfd/
* elf64-ppc.c (ppc_stub_type): Add ppc_stub_global_entry.
(struct ppc_link_hash_table): Increase size of stub_count array.
(build_global_entry_stubs): Emit symbol on global entry stub.
(ppc64_elf_build_stubs): NULL check htab->brlt. Add global entry
stub stats.
ld/
* emultempl/ppc64elf.em (stub_added): Delete.
(gld${EMULATION_NAME}_finish): Call ppc64_elf_build_stubs even when
none of the usual stubs have been added. Only change entry_section
for ELFv1.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2dc0e7b400e46f105960c0dfcd431013f0013c6a
commit 2dc0e7b400e46f105960c0dfcd431013f0013c6a
Author: Alan Modra <amodra@gmail.com>
Date: Tue Jul 1 18:10:25 2014 +0930
Don't include sys/param.h
sys/param.h on recent versions of powerpc glibc ends up including
asm/elf.h via asm/sigcontex.h. asm/elf.h defines R_PPC_* and R_PPC64_*
macros, which clash with our include/elf/ppc.h and include/elf/ppc64.h.
It turns out that no current source uses LD_PATHMAX, so there is no
need for limits.h or sys/param.h, except for one occurrence of UINT_MAX.
I don't have a quarrel with limits.h, but it seems unnecessary just
for UINT_MAX.
* sysdep.h: Don't include limits.h and sys/param.h. Don't
include unistd.h twice.
(LD_PATHMAX): Don't define.
* ldlang.c (lang_common): Don't use UINT_MAX.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=810d4e754dad3e5431399de7b5bacb831b899320
commit 810d4e754dad3e5431399de7b5bacb831b899320
Author: Alan Modra <amodra@gmail.com>
Date: Tue Jul 1 13:06:20 2014 +0930
Linker foreign output format support for PowerPC64 ELFv2
Makes the ld srec tests pass. Uses a horrible scan through symbols to
find ELF fields for symbol definitions, but the generic linker doesn't
offer anything better. Might be slow. Anyway, sane people will link
to ELF output then objcopy to convert formats.
* elf64-ppc.c (abiversion, set_abiversion): Move earlier.
(ppc64_elf_branch_reloc): Adjust addend for ELFv2 local offset.
(ppc64_elf_set_toc): Set ".TOC." symbol value when using
generic linker.
(ppc64_elf_relocate_section): Disable ELFv2 function entry
optimisation when --traditional-format.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 19 ++++++++-
bfd/elf64-ppc.c | 108 ++++++++++++++++++++++++++++++++++++----------
ld/ChangeLog | 14 ++++++
ld/emultempl/ppc64elf.em | 47 ++++++++++----------
ld/ldlang.c | 2 +-
ld/sysdep.h | 22 ---------
6 files changed, 141 insertions(+), 71 deletions(-)
hooks/post-receive
--
gdb and binutils
More information about the Binutils-cvs
mailing list