>>>>> Jakub Jelinek writes:

Jakub> I guess the right thing to do would be to replace the current
Jakub> 3 uses of SYMBOL_REF_LOCAL_P (x) macro in config/rs6000/*.md
Jakub> with
Jakub> SYMBOL_REF_LOCAL_P (x) && (!TARGET_ARCH64 || !SYMBOL_REF_EXTERNAL_P (x))

Jakub> where TARGET_ARCH64 is replaced by whatever ppc* subarches need 
multi-toc.

        The only one that needs to be changed in the
current_file_function_operand predicate in rs6000/predicates.md

I think the test needs to be

SYMBOL_REF_LOCAL_P (x) && (DEFAULT_ABI != ABI_AIX
                           || !SYMBOL_REF_EXTERNAL_P (x))


David

Reply via email to