From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31402 invoked by alias); 2 Oct 2012 02:18:10 -0000 Received: (qmail 30910 invoked by uid 48); 2 Oct 2012 02:17:54 -0000 From: "kkojima at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/50457] SH2A atomic functions Date: Tue, 02 Oct 2012 02:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kkojima at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg00083.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50457 --- Comment #12 from Kazumoto Kojima 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.