This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50457] SH2A atomic functions
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 Oct 2012 00:55:42 +0000
- Subject: [Bug target/50457] SH2A atomic functions
- Auto-submitted: auto-generated
- References: <bug-50457-4@http.gcc.gnu.org/bugzilla/>
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* ...