Hi,

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

Regards,
Jeroen


>From fe6337cec5fb16c90c2cdd73dd0d330397072145 Mon Sep 17 00:00:00 2001
From: Jeroen Hofstee <jhofs...@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


_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to