svn commit: r240216 - projects/amd64_xen_pv/sys/amd64/xen

Cherry G. Mathew cherry at FreeBSD.org
Fri Sep 7 22:16:51 UTC 2012


Author: cherry
Date: Fri Sep  7 22:16:50 2012
New Revision: 240216
URL: http://svn.freebsd.org/changeset/base/240216

Log:
  Concatenate ascii strings by declaring them separately rather than juxtapositioning them.
  This allows the kernel to be built by clang.

Modified:
  projects/amd64_xen_pv/sys/amd64/xen/locore.S

Modified: projects/amd64_xen_pv/sys/amd64/xen/locore.S
==============================================================================
--- projects/amd64_xen_pv/sys/amd64/xen/locore.S	Fri Sep  7 22:16:08 2012	(r240215)
+++ projects/amd64_xen_pv/sys/amd64/xen/locore.S	Fri Sep  7 22:16:50 2012	(r240216)
@@ -47,7 +47,8 @@
 #endif
 
 .section __xen_guest
-	.ascii "LOADER=generic,GUEST_OS=freebsd,GUEST_VER=9.0,XEN_VER=xen-3.0,BSD_SYMTAB,VIRT_BASE="__XSTRING(KERNBASE)
+	.ascii "LOADER=generic,GUEST_OS=freebsd,GUEST_VER=9.0,XEN_VER=xen-3.0,BSD_SYMTAB,VIRT_BASE="
+	.ascii __XSTRING(KERNBASE)
 	.byte 0
 
 	ELFNOTE(Xen, XEN_ELFNOTE_GUEST_OS,       .asciz, "FreeBSD")


More information about the svn-src-projects mailing list