This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: PATCH: PR middle-end/20218: Can't use __attribute__ ((visibility ("hidden"))) to hide a symbol



On Feb 28, 2005, at 4:49 PM, H. J. Lu wrote:


This is the first attempt to to fix PR 20218. It keeps a list of
referenced global symbols and outputs non-default visibility at the
end. I only verified it on Linux/ia32, Linux/x86_64 and Linux/ia64.

You still have not explained why .hidden is needed for object files which
use the hidden functions. It seems to me that this should be fixed up in
binutils while linking where also know if function/variable is hidden.


-- Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]