From owner-freebsd-current@FreeBSD.ORG Sat Nov 15 21:10:27 2014 Return-Path: Delivered-To: freebsd-current@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 C928C9DC for ; Sat, 15 Nov 2014 21:10:27 +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 886E08DD for ; Sat, 15 Nov 2014 21:10:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by orange.myspectrum.nl (Postfix) with ESMTP id F22A185AA2 for ; Sat, 15 Nov 2014 22:10:26 +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 FHXq8RRChEtd for ; Sat, 15 Nov 2014 22:10:26 +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 E749D85A6C for ; Sat, 15 Nov 2014 22:10:25 +0100 (CET) Message-ID: <5467C142.2000202@myspectrum.nl> Date: Sat, 15 Nov 2014 22:10:26 +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-current@freebsd.org Subject: fueword: update ENDPROC References: <5467C075.1040007@myspectrum.nl> In-Reply-To: <5467C075.1040007@myspectrum.nl> X-Forwarded-Message-Id: <5467C075.1040007@myspectrum.nl> Content-Type: multipart/mixed; boundary="------------030901080300050200020201" X-Mailman-Approved-At: Sat, 15 Nov 2014 22:05:21 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2014 21:10:27 -0000 This is a multi-part message in MIME format. --------------030901080300050200020201 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, gcc on linux complains about the invalid ENDPROC. Attached (git formatted) patch should fix this. Regards, Jeroen --------------030901080300050200020201 Content-Type: text/x-patch; name="0001-fueword-update-ENDPROC.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-fueword-update-ENDPROC.patch" >From fe6337cec5fb16c90c2cdd73dd0d330397072145 Mon Sep 17 00:00:00 2001 From: Jeroen Hofstee Date: Sat, 15 Nov 2014 19:40:12 +0100 Subject: [PATCH] fueword: update ENDPROC commit 29a659e: "Add fueword(9) and casueword(9) functions. They are like fuword(9) and casuword(9), but do not mix value read and indication of fault.", introduced fueword, but gcc complains about the incorrect ENDPROC, fix this. --- mind it, not tested, nor do I know the details, encountered when compiling freebsd kernel on linux with gcc. --- sys/amd64/amd64/support.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S index fe19f88..f8b75ff 100644 --- a/sys/amd64/amd64/support.S +++ b/sys/amd64/amd64/support.S @@ -426,8 +426,8 @@ ENTRY(fueword) movq %r11,(%rsi) POP_FRAME_POINTER ret -END(fuword64) -END(fuword) +END(fueword64) +END(fueword) ENTRY(fueword32) PUSH_FRAME_POINTER -- 2.1.0 --------------030901080300050200020201--