[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/15435] Gold rejects undefined weak hidden symbol
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/15435] Gold rejects undefined weak hidden symbol |
Date: |
Thu, 06 Feb 2014 07:05:44 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=15435
--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
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 1a221d3d9cc474b8a382f6aeed56671d10b71473 (commit)
from e889f0a4b14d265cb6ef5f51bdf0daeb0d7caf1e (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=1a221d3d9cc474b8a382f6aeed56671d10b71473
commit 1a221d3d9cc474b8a382f6aeed56671d10b71473
Author: Cary Coutant <address@hidden>
Date: Wed Feb 5 22:59:02 2014 -0800
Fix issues with gold undefined symbol diagnostics.
PR binutils/15435 complains that gold issues a visibility error for an
weak undefined symbol with hidden visibility. The message should be
suppressed if the symbol is a weak undef.
An earlier patch to add an extra note about key functions when a class's
vtable symbol is undefined missed a case where the reference to the
vtable came from a shared library. This patch moves the check to a
lower-level routine that catches both cases.
gold/
2014-02-05 Cary Coutant <address@hidden>
* errors.cc (Errors::undefined_symbol): Move undef vtable symbol
check to here.
* target-reloc.h (is_strong_undefined): New function.
(relocate_section): Move undef vtable symbol check from here.
Check for is_strong_undefined.
-----------------------------------------------------------------------
Summary of changes:
gold/ChangeLog | 11 +++++++++++
gold/errors.cc | 5 +++++
gold/target-reloc.h | 16 ++++++++--------
3 files changed, 24 insertions(+), 8 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/15435] Gold rejects undefined weak hidden symbol,
cvs-commit at gcc dot gnu.org <=