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: "kkojima 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 02:17:51 +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 #12 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2012-10-02 02:17:51 UTC ---
(In reply to comment #11)
> Created attachment 28321 [details]
> cleanup libgcc/config/sh/linux-atomic
Works fine for me.
> (three leading underscores)
You might get one extra underscore because embed-elf SH compiler uses one
underscore as USER_LABEL_PREFIX. It's OK for linux which uses null
USER_LABEL_PREFIX. I've got
.long __sync_val_compare_and_swap_4
with sh4-unknown-linux-gnu gcc for that case.