How is TARGET_ASM_ASSEMBLE_VISIBILITY used?

H.J. Lu hjl.tools@gmail.com
Sat Feb 7 01:56:00 GMT 2015


On Fri, Feb 6, 2015 at 2:20 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> I saw
>
> config/darwin.h:#undef TARGET_ASM_ASSEMBLE_VISIBILITY
> config/darwin.h:#define TARGET_ASM_ASSEMBLE_VISIBILITY
> darwin_assemble_visibility
> config/i386/cygming.h:#undef TARGET_ASM_ASSEMBLE_VISIBILITY
> config/i386/cygming.h:#define TARGET_ASM_ASSEMBLE_VISIBILITY
> i386_pe_assemble_visibility
> config/rs6000/rs6000.c:#undef TARGET_ASM_ASSEMBLE_VISIBILITY
> config/rs6000/rs6000.c:#define TARGET_ASM_ASSEMBLE_VISIBILITY
> rs6000_assemble_visibility
> config/sol2.h:#undef TARGET_ASM_ASSEMBLE_VISIBILITY
> config/sol2.h:#define TARGET_ASM_ASSEMBLE_VISIBILITY solaris_assemble_visibility
> doc/tm.texi:@deftypefn {Target Hook} void
> TARGET_ASM_ASSEMBLE_VISIBILITY (tree @var{decl}, int @var{visibility})
> doc/tm.texi.in:@hook TARGET_ASM_ASSEMBLE_VISIBILITY
>
> How is it used?
>

It is used by generated target-hooks-def.h.


-- 
H.J.



More information about the Gcc mailing list