From-SVN: r122299
This commit is contained in:
Mike Stump 2007-02-24 23:04:20 +00:00
parent 320ce1d3a3
commit c88fc50c24

View File

@ -7592,12 +7592,11 @@ output_pic_addr_const (FILE *file, rtx x, int code)
if (SYMBOL_REF_DECL (x))
mark_decl_referenced (SYMBOL_REF_DECL (x));
if (MACHOPIC_INDIRECT
#if TARGET_MACHO
&& machopic_classify_symbol (x) == MACHOPIC_UNDEFINED_FUNCTION
#endif
)
if (MACHOPIC_INDIRECT
&& machopic_classify_symbol (x) == MACHOPIC_UNDEFINED_FUNCTION)
name = machopic_indirection_name (x, /*stub_p=*/true);
#endif
assemble_name (file, name);
}
if (!TARGET_MACHO && code == 'P' && ! SYMBOL_REF_LOCAL_P (x))