This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. d1bddd3c4b9c17736bf6c59aa336670a589ca844
- From: ccoutant at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 2 May 2014 23:34:36 -0000
- Subject: gdb and binutils branch master updated. d1bddd3c4b9c17736bf6c59aa336670a589ca844
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 d1bddd3c4b9c17736bf6c59aa336670a589ca844 (commit)
from 30a1e6cc7750ce016ea70afa795c0764d07d21ae (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=d1bddd3c4b9c17736bf6c59aa336670a589ca844
commit d1bddd3c4b9c17736bf6c59aa336670a589ca844
Author: Cary Coutant <ccoutant@google.com>
Date: Wed Apr 2 14:21:14 2014 -0700
Fix handling of __ehdr_start when it cannot be defined.
2014-05-02 Cary Coutant <ccoutant@google.com>
* defstd.cc (in_segment): Define __ehdr_start here...
* layout.cc (Layout::finalize): ...Instead of here. Set the
output segment when known.
* resolve.cc (Symbol::override_base_with_special): Remember
the original binding.
* symtab.cc (Symbol::set_output_segment): New function.
(Symbol::set_undefined): New function.
* symtab.h (Symbol::is_weak_undefined): Check original undef
binding.
(Symbol::is_strong_undefined): New function.
(Symbol::set_output_segment): New function.
(Symbol::set_undefined): New function.
* target-reloc.h (is_strong_undefined): Remove.
(issue_undefined_symbol_error): Call Symbol::is_weak_undefined.
Check for hidden undefs.
(relocate_section): Call Symbol::is_strong_undefined.
* testsuite/Makefile.am (ehdr_start_test_1)
(ehdr_start_test_2, ehdr_start_test_3)
(ehdr_start_test_4, ehdr_start_test_5): New test cases.
* testsuite/Makefile.in: Regenerate.
* testsuite/ehdr_start_def.cc: New source file.
* testsuite/ehdr_start_test.cc: New source file.
* testsuite/ehdr_start_test.t: New linker script.
* testsuite/ehdr_start_test_4.sh: New shell script.
-----------------------------------------------------------------------
Summary of changes:
gold/ChangeLog | 28 +++++
gold/defstd.cc | 14 ++
gold/layout.cc | 14 ++-
gold/resolve.cc | 4 +
gold/symtab.cc | 25 ++++
gold/symtab.h | 34 +++++-
gold/target-reloc.h | 14 +--
gold/testsuite/Makefile.am | 44 +++++++
gold/testsuite/Makefile.in | 225 +++++++++++++++++++++++++++++++----
gold/testsuite/ehdr_start_def.cc | 26 ++++
gold/testsuite/ehdr_start_test.cc | 67 +++++++++++
gold/testsuite/ehdr_start_test.t | 42 +++++++
gold/testsuite/ehdr_start_test_4.sh | 40 ++++++
13 files changed, 533 insertions(+), 44 deletions(-)
create mode 100644 gold/testsuite/ehdr_start_def.cc
create mode 100644 gold/testsuite/ehdr_start_test.cc
create mode 100644 gold/testsuite/ehdr_start_test.t
create mode 100755 gold/testsuite/ehdr_start_test_4.sh
hooks/post-receive
--
gdb and binutils