From owner-svn-src-head@FreeBSD.ORG Sat Jun 15 09:04:11 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 16C09693; Sat, 15 Jun 2013 09:04:11 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 08D9F1E98; Sat, 15 Jun 2013 09:04:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5F94AX1002123; Sat, 15 Jun 2013 09:04:10 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5F94AHa002122; Sat, 15 Jun 2013 09:04:10 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201306150904.r5F94AHa002122@svn.freebsd.org> From: Ed Schouten Date: Sat, 15 Jun 2013 09:04:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251784 - head/lib/libcompiler_rt X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 09:04:11 -0000 Author: ed Date: Sat Jun 15 09:04:10 2013 New Revision: 251784 URL: http://svnweb.freebsd.org/changeset/base/251784 Log: Let ARM use the custom tailored atomic intrinsics. Deleted: head/lib/libcompiler_rt/__sync_fetch_and_add_4.c head/lib/libcompiler_rt/__sync_fetch_and_and_4.c head/lib/libcompiler_rt/__sync_fetch_and_op_n.h head/lib/libcompiler_rt/__sync_fetch_and_or_4.c head/lib/libcompiler_rt/__sync_fetch_and_sub_4.c head/lib/libcompiler_rt/__sync_fetch_and_xor_4.c head/lib/libcompiler_rt/__sync_lock_test_and_set_4.c head/lib/libcompiler_rt/__sync_synchronize.c head/lib/libcompiler_rt/__sync_val_compare_and_swap_4.c head/lib/libcompiler_rt/__sync_val_compare_and_swap_n.h Modified: head/lib/libcompiler_rt/Makefile Modified: head/lib/libcompiler_rt/Makefile ============================================================================== --- head/lib/libcompiler_rt/Makefile Sat Jun 15 08:23:53 2013 (r251783) +++ head/lib/libcompiler_rt/Makefile Sat Jun 15 09:04:10 2013 (r251784) @@ -158,14 +158,9 @@ SRCF+= divsi3 \ # FreeBSD-specific atomic intrinsics. .if ${MACHINE_CPUARCH} == "arm" -SRCF+= __sync_fetch_and_add_4 \ - __sync_fetch_and_and_4 \ - __sync_fetch_and_or_4 \ - __sync_fetch_and_sub_4 \ - __sync_fetch_and_xor_4 \ - __sync_lock_test_and_set_4 \ - __sync_synchronize \ - __sync_val_compare_and_swap_4 +.PATH: ${.CURDIR}/../../sys/arm/arm + +SRCF+= stdatomic .elif ${MACHINE_CPUARCH} == "mips" .PATH: ${.CURDIR}/../../sys/mips/mips