[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/9836] wrong visibility in shared objects
From: |
cvs-commit at gcc dot gnu dot org |
Subject: |
[Bug gold/9836] wrong visibility in shared objects |
Date: |
27 Feb 2009 19:57:59 -0000 |
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-02-27
19:57 -------
Subject: Bug 9836
CVSROOT: /cvs/src
Module name: src
Changes by: address@hidden 2009-02-27 19:57:46
Modified files:
gold : ChangeLog resolve.cc symtab.cc symtab.h
gold/testsuite : Makefile.am Makefile.in
Added files:
gold/testsuite : ver_test_1.sh
Log message:
PR 9836
* symtab.cc (Symbol_table::add_from_object): If the visibility is
hidden or internal, force the symbol to be local.
* resolve.cc (Symbol::override_visibility): Define.
(Symbol::override_base): Use override_visibility.
(Symbol_table::resolve): Likewise.
(Symbol::override_base_with_special): Likewise.
(Symbol_table::override_with_special): If the visibility is hidden
or internal, force the symbol to be local.
* symtab.h (class Symbol): Add set_visibility and
override_visibility.
* testsuite/ver_test_1.sh: New file.
* testsuite/Makefile.am (check_SCRIPTS): Add ver_test_1.sh.
(check_DATA): Add ver_test_1.syms.
(ver_test_1.syms): New target.
* testsuite/Makefile.in: Rebuild.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&r1=1.181&r2=1.182
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/resolve.cc.diff?cvsroot=src&r1=1.38&r2=1.39
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/symtab.cc.diff?cvsroot=src&r1=1.114&r2=1.115
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/symtab.h.diff?cvsroot=src&r1=1.84&r2=1.85
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/testsuite/ver_test_1.sh.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/testsuite/Makefile.am.diff?cvsroot=src&r1=1.84&r2=1.85
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/testsuite/Makefile.in.diff?cvsroot=src&r1=1.89&r2=1.90
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9836
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gold/9836] New: wrong visibility in shared objects, baldrick at free dot fr, 2009/02/11
- [Bug gold/9836] wrong visibility in shared objects, nicholas at mxc dot ca, 2009/02/15
- [Bug gold/9836] wrong visibility in shared objects, baldrick at free dot fr, 2009/02/16
- [Bug gold/9836] wrong visibility in shared objects, asl at math dot spbu dot ru, 2009/02/25
- [Bug gold/9836] wrong visibility in shared objects,
cvs-commit at gcc dot gnu dot org <=
- [Bug gold/9836] wrong visibility in shared objects, ian at airs dot com, 2009/02/27
- [Bug gold/9836] wrong visibility in shared objects, baldrick at free dot fr, 2009/02/27