diff options
author | Cary Coutant <ccoutant@google.com> | 2014-02-05 22:59:02 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2014-02-05 23:04:52 -0800 |
commit | 1a221d3d9cc474b8a382f6aeed56671d10b71473 (patch) | |
tree | 99fa5ba79d8f2849d6def72a1d648669f960bf75 /gold/ChangeLog | |
parent | e889f0a4b14d265cb6ef5f51bdf0daeb0d7caf1e (diff) | |
download | gdb-1a221d3d9cc474b8a382f6aeed56671d10b71473.zip gdb-1a221d3d9cc474b8a382f6aeed56671d10b71473.tar.gz gdb-1a221d3d9cc474b8a382f6aeed56671d10b71473.tar.bz2 |
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 <ccoutant@google.com>
* 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.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index a6b8458..5996f3e 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,4 +1,15 @@ 2014-02-05 Cary Coutant <ccoutant@google.com> + + Fix issues with gold undefined symbol diagnostics. + + PR binutils/15435 + * 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. + +2014-02-05 Cary Coutant <ccoutant@google.com> Fix problems with the --dynamic-list option. |