Re: [PATCH] __atomic library calls which are external may require some label exporting

2011-11-22 Thread Richard Henderson
On 11/21/2011 09:18 PM, Andrew MacLeod wrote: > PR other/51011 > * tree.h (is_builtin_name): No longer external. > * builtins.c (is_builtin_name): Make static. > * varasm.c (incorporeal_function_p): __sync and __atomic external calls > are not incorporeal and may need

[PATCH] __atomic library calls which are external may require some label exporting

2011-11-21 Thread Andrew MacLeod
On any target which defines ASM_OUTPUT_EXTERNAL, there is some fiddling that has to be done with external labels. hpux is such a target, and any unresolved functions need to be emitted as CODE labels rather than the default DATA label. previously, all __builtin functions were considered to be