From owner-freebsd-arm@FreeBSD.ORG Sun Nov 16 22:46:11 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D6302C7 for ; Sun, 16 Nov 2014 22:46:11 +0000 (UTC) Received: from orange.myspectrum.nl (unknown [IPv6:2a01:7c8:aab2:19e:5054:ff:fe1e:7dad]) by mx1.freebsd.org (Postfix) with ESMTP id 5E8083D5 for ; Sun, 16 Nov 2014 22:46:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by orange.myspectrum.nl (Postfix) with ESMTP id DACDE85CCD for ; Sun, 16 Nov 2014 23:46:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at myspectrum.nl Received: from orange.myspectrum.nl ([127.0.0.1]) by localhost (orange.myspectrum.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vu8V4YxaEsdY for ; Sun, 16 Nov 2014 23:46:06 +0100 (CET) Received: from [10.0.0.105] (ip136-5-208-87.adsl2.static.versatel.nl [87.208.5.136]) (Authenticated sender: jeroen@myspectrum.nl) by orange.myspectrum.nl (Postfix) with ESMTPSA id 4171185A31 for ; Sun, 16 Nov 2014 23:46:06 +0100 (CET) Message-ID: <5469292E.7010601@myspectrum.nl> Date: Sun, 16 Nov 2014 23:46:06 +0100 From: Jeroen Hofstee User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: EEND errors Content-Type: multipart/mixed; boundary="------------040102070303000108060705" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2014 22:46:11 -0000 This is a multi-part message in MIME format. --------------040102070303000108060705 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, When compiling FreeBSD with a linux ARM compiler, it complains about a couple of END/EEND macro's. Attached patch should fix this. Regards, Jeroen --------------040102070303000108060705 Content-Type: text/x-patch; name="0001-arm-fix-some-EEND-END-mismatches.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-arm-fix-some-EEND-END-mismatches.patch" >From 12fc31ba2c81decb93a20ee9e878ee914837b4d1 Mon Sep 17 00:00:00 2001 From: Jeroen Hofstee Date: Sun, 16 Nov 2014 23:37:20 +0100 Subject: [PATCH] arm: fix some EEND/END mismatches --- sys/arm/arm/fusu.S | 4 ++-- sys/arm/arm/support.S | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arm/arm/fusu.S b/sys/arm/arm/fusu.S index c70215c..b55f443 100644 --- a/sys/arm/arm/fusu.S +++ b/sys/arm/arm/fusu.S @@ -129,7 +129,7 @@ EENTRY_NP(fuword32) str r1, [r2, #PCB_ONFAULT] mov r0, r3 RET -END(fuword32) +EEND(fuword32) END(fuword) /* @@ -295,7 +295,7 @@ EENTRY_NP(suword32) mov r0, #0x00000000 str r0, [r2, #PCB_ONFAULT] RET -END(suword32) +EEND(suword32) END(suword) /* diff --git a/sys/arm/arm/support.S b/sys/arm/arm/support.S index 2a6eec9..1714b0f 100644 --- a/sys/arm/arm/support.S +++ b/sys/arm/arm/support.S @@ -130,7 +130,7 @@ ENTRY(bzero) .Lnormal0: mov r3, #0x00 b do_memset -EEND(bzero) +END(bzero) /* LINTSTUB: Func: void *memset(void *, int, size_t) */ ENTRY(memset) and r3, r1, #0xff /* We deal with bytes */ -- 2.1.0 --------------040102070303000108060705--