[Bug target/50457] SH2A atomic functions

kkojima at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 2 02:18:00 GMT 2012


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.



More information about the Gcc-bugs mailing list