This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How is TARGET_ASM_ASSEMBLE_VISIBILITY used?
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GCC Development <gcc at gcc dot gnu dot org>
- Date: Fri, 6 Feb 2015 17:56:48 -0800
- Subject: Re: How is TARGET_ASM_ASSEMBLE_VISIBILITY used?
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOq=LFfaspE0aqJ=RifCggvP68az0A+-sHLXzQrgOVL4ZQ at mail dot gmail dot com>
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.