This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR middle-end/20218: Can't use __attribute__ ((visibility ("hidden"))) to hide a symbol
On Fri, Dec 08, 2006 at 09:11:18PM -0500, David Edelsohn wrote:
> >>>>> H J Lu writes:
>
> HJ> Here is the current version. Can someone test it on AIX?
>
> I bootstrapped the previous version on AIX. AIX XCOFF does not
> support visibility, so I am not sure what AIX features this will stress.
> A C bootstrap and regression test looks fine.
I removed one ASM_OUTPUT_EXTERNAL usage. Instead of calling
ASM_OUTPUT_EXTERNAL when a declaration is seen, my change only
calls it at the end of compile_file.
AIX defines ASM_OUTPUT_EXTERNAL. But I don't believe my change should
affect AIX. You result confirms it.
Thanks.
H.J.