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 10:57:59 +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 #13 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-10-02 10:57:59 UTC ---
(In reply to comment #12)
> (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.
Thanks for the explanation!
Patch submitted: http://gcc.gnu.org/ml/gcc-patches/2012-10/msg00162.html