[Bug target/50457] SH2A atomic functions

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 2 00:55:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50457

--- Comment #11 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-10-02 00:55:42 UTC ---
Created attachment 28321
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28321
cleanup libgcc/config/sh/linux-atomic

This is what I've got so far as a cleanup of the libgcc/config/sh/linux-atomic*
stuff.  I had to add built-in defines for the atomic model and while at it,
I've moved the TARGET_CPU_CPP_BUILTINS macro implementation from sh.h to
sh-c.c, as it is done on some other targets.

Kaz, could you please try out this patch?

I'm not sure, but maybe it will require adding symbol aliases for __sync* ->
___sync* ...



More information about the Gcc-bugs mailing list