This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/50457] SH2A atomic functions


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]