Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2014 22:10:26 +0100
From:      Jeroen Hofstee <jeroen@myspectrum.nl>
To:        freebsd-current@freebsd.org
Subject:   fueword: update ENDPROC
Message-ID:  <5467C142.2000202@myspectrum.nl>
In-Reply-To: <5467C075.1040007@myspectrum.nl>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hi,

gcc on linux complains about the invalid ENDPROC.
Attached (git formatted) patch should fix this.

Regards,
Jeroen



[-- Attachment #2 --]
>From fe6337cec5fb16c90c2cdd73dd0d330397072145 Mon Sep 17 00:00:00 2001
From: Jeroen Hofstee <jhofstee@victronenergy.com>
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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5467C142.2000202>