gdb and binutils branch master updated. 4199e3b8669d0a36448687850374fdc2ad7240b6
amodra@sourceware.org
amodra@sourceware.org
Wed Jan 15 11:53: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 4199e3b8669d0a36448687850374fdc2ad7240b6 (commit)
from bb4142cf49651ddcb0e00f6aaf451272c4c9977d (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=4199e3b8669d0a36448687850374fdc2ad7240b6
commit 4199e3b8669d0a36448687850374fdc2ad7240b6
Author: Alan Modra <amodra@gmail.com>
Date: Wed Jan 15 21:50:55 2014 +1030
non-PIC references to __ehdr_start in pie and shared
Rather than hacking every backend to not discard dynamic relocations
against an undefined hidden __ehdr_start, make it appear to be defined
early. We want __ehdr_start hidden before size_dynamic_sections so
that it isn't put in .dynsym, but we do need the dynamic relocations
for a PIE or shared library with a non-PIC reference. Defining it
early is wrong if we don't actually define the symbol later to its
proper value. (In some cases we want to leave the symbol undefined,
for example, when the ELF header isn't loaded, and we don't have this
infomation available in before_allocation.)
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
__ehdr_start before size_dynamic_sections and restore afterwards.
ld/testsuite/
* ld-elf/ehdr_start-shared.d: New.
* ld-elf/ehdr_start-userdef.d: xfail frv.
* ld-elf/ehdr_start-weak.d: Likewise.
* ld-elf/ehdr_start.d: Likewise.
-----------------------------------------------------------------------
Summary of changes:
ld/ChangeLog | 5 +++++
ld/emultempl/elf32.em | 20 ++++++++++++++++++++
ld/testsuite/ChangeLog | 7 +++++++
.../ld-elf/{ehdr_start.d => ehdr_start-shared.d} | 3 ++-
ld/testsuite/ld-elf/ehdr_start-userdef.d | 1 +
ld/testsuite/ld-elf/ehdr_start-weak.d | 1 +
ld/testsuite/ld-elf/ehdr_start.d | 1 +
7 files changed, 37 insertions(+), 1 deletions(-)
copy ld/testsuite/ld-elf/{ehdr_start.d => ehdr_start-shared.d} (69%)
hooks/post-receive
--
gdb and binutils
More information about the Binutils-cvs
mailing list