[Bug 2749] Dynamic modules need visibility cleanups

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 16 14:24:46 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=2749          
     




------- Additional Comments From Seongbae.Park at Sun.COM  2005-03-16 14:24 -------
# cc -flags | grep scope
-xldscope=<a>         Indicates the appropriate linker scoping within the source
prog
ram; <a>={global|symbolic|hidden}

-xldscope=hidden will do what -fvisibility=hidden does in gcc.

This sets the default linker scoping for symbols.
You can set linker scoping for each symbol in the source by using __global,
__symbolic, __hidden attribute for symbol declaration in c/c++.

Of course, as Alan pointed out, you can use the map file.
          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list