m3-sys/m3cc/gcc-apple/gcc/varasm.c
/* Emit the assembly bits to indicate that DECL is globally visible.  */
Emit the assembly bits to indicate that DECL is globally visible.
Emit the assembly bits to indicate that DECL is globally visible .
static void
globalize_decl (tree decl)
{
  const char *name = XSTR (XEXP (DECL_RTL (decl), 0), 0);
#if defined (ASM_WEAKEN_LABEL) || defined (ASM_WEAKEN_DECL)
  if (DECL_WEAK (decl))
    {
      tree *p, t;
#ifdef ASM_WEAKEN_DECL
      ASM_WEAKEN_DECL (asm_out_file, decl, name, 0);
#else
      ASM_WEAKEN_LABEL (asm_out_file, name);
#endif
      for (p = &weak_decls; (t = *p) ; )
	{
	  if (DECL_ASSEMBLER_NAME (decl) == DECL_ASSEMBLER_NAME (TREE_VALUE (t)))
	    *p = TREE_CHAIN (t);
	  else
	    p = &TREE_CHAIN (t);
	}
      for (p = &weakref_targets; (t = *p) ; )
	{
	  if (DECL_ASSEMBLER_NAME (decl)
	      == ultimate_transparent_alias_target (&TREE_VALUE (t)))
	    *p = TREE_CHAIN (t);
	  else
	    p = &TREE_CHAIN (t);
	}
      return;
    }
#elif defined(ASM_MAKE_LABEL_LINKONCE)
  if (DECL_ONE_ONLY (decl))
    ASM_MAKE_LABEL_LINKONCE (asm_out_file, name);
#endif
  targetm.asm_out.globalize_label (asm_out_file, name);
}
static void globalize_decl ( tree decl ) { const char * name = XSTR ( XEXP ( DECL_RTL ( decl ) , 0 ) , 0 ) ; #if defined ( ASM_WEAKEN_LABEL ) || defined ( ASM_WEAKEN_DECL ) if ( DECL_WEAK ( decl ) ) { tree * p , t ; #ifdef ASM_WEAKEN_DECL ASM_WEAKEN_DECL ( asm_out_file , decl , name , 0 ) ; #else ASM_WEAKEN_LABEL ( asm_out_file , name ) ; #endif for ( p = & weak_decls ; ( t = * p ) ; ) { if ( DECL_ASSEMBLER_NAME ( decl ) == DECL_ASSEMBLER_NAME ( TREE_VALUE ( t ) ) ) * p = TREE_CHAIN ( t ) ; else p = & TREE_CHAIN ( t ) ; } for ( p = & weakref_targets ; ( t = * p ) ; ) { if ( DECL_ASSEMBLER_NAME ( decl ) == ultimate_transparent_alias_target ( & TREE_VALUE ( t ) ) ) * p = TREE_CHAIN ( t ) ; else p = & TREE_CHAIN ( t ) ; } return ; } #elif defined ( ASM_MAKE_LABEL_LINKONCE ) if ( DECL_ONE_ONLY ( decl ) ) ASM_MAKE_LABEL_LINKONCE ( asm_out_file , name ) ; #endif targetm . asm_out . globalize_label ( asm_out_file , name ) ; }
Emit the assembly bits to indicate that DECL is globally visible.
Emit the assembly bits to indicate that DECL is globally visible .
/* Remove this function from the pending weak list so that
	 we do not emit multiple .weak directives for it.  */ /* Remove weakrefs to the same target from the pending weakref
	 list, for the same reason.  */