[Issue 7083] variables with static/private storage create global symbols
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 3 19:55:14 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7083
--- Comment #3 from Martin Nowak <code at dawg.eu> 2013-04-03 19:55:13 PDT ---
(In reply to comment #2)
> It would be good to reconsider this for PIC code where every access to global
> symbols is indirect through the GOT table.
>
This could be achieved by changing the default visibility to hidden.
Similar to Windows only symbols with the export attribute would be visible in a
shared library thus allowing link-time optimizations for non-exported symbols.
http://gcc.gnu.org/wiki/Visibility
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list