From owner-svn-src-projects@FreeBSD.ORG Thu Feb 13 10:07:50 2014 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E579CB5; Thu, 13 Feb 2014 10:07:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3FE741199; Thu, 13 Feb 2014 10:07:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1DA7o7m097759; Thu, 13 Feb 2014 10:07:50 GMT (envelope-from andrew@svn.freebsd.org) Received: (from andrew@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1DA7n5t097756; Thu, 13 Feb 2014 10:07:49 GMT (envelope-from andrew@svn.freebsd.org) Message-Id: <201402131007.s1DA7n5t097756@svn.freebsd.org> From: Andrew Turner Date: Thu, 13 Feb 2014 10:07:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r261829 - in projects/arm64/lib: libc/arm64/gen libstand X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Feb 2014 10:07:50 -0000 Author: andrew Date: Thu Feb 13 10:07:49 2014 New Revision: 261829 URL: http://svnweb.freebsd.org/changeset/base/261829 Log: Add an empty _setjmp and _longjmp for libstand. Added: projects/arm64/lib/libc/arm64/gen/ projects/arm64/lib/libc/arm64/gen/_setjmp.S (contents, props changed) Modified: projects/arm64/lib/libstand/Makefile Added: projects/arm64/lib/libc/arm64/gen/_setjmp.S ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/arm64/lib/libc/arm64/gen/_setjmp.S Thu Feb 13 10:07:49 2014 (r261829) @@ -0,0 +1,37 @@ +/*- + * Copyright (c) 2014 Andrew Turner + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + */ + + .globl _setjmp +_setjmp: + b _setjmp + ret + + .globl _longjmp +_longjmp: + b _longjmp + ret + Modified: projects/arm64/lib/libstand/Makefile ============================================================================== --- projects/arm64/lib/libstand/Makefile Thu Feb 13 09:24:46 2014 (r261828) +++ projects/arm64/lib/libstand/Makefile Thu Feb 13 10:07:49 2014 (r261829) @@ -80,8 +80,12 @@ SRCS+= udivmoddi4.c udivmodsi4.c udivdi3 SRCS+= aeabi_idivmod.S aeabi_ldivmod.S aeabi_uidivmod.S aeabi_uldivmod.S SRCS+= aeabi_memcmp.S aeabi_memcpy.S aeabi_memmove.S aeabi_memset.S .endif +.endif +.if ${MACHINE_CPUARCH} == "arm64" +.PATH: ${.CURDIR}/../libc/arm64/gen .endif + .if ${MACHINE_CPUARCH} == "ia64" .PATH: ${.CURDIR}/../libc/ia64/string SRCS+= bcmp.c bcopy.S bzero.S ffs.S memccpy.c memchr.c memcmp.c memcpy.S \