svn commit: r223718 - head/sys/sparc64/sparc64

Marius Strobl marius at FreeBSD.org
Sat Jul 2 10:17:26 UTC 2011


Author: marius
Date: Sat Jul  2 10:17:26 2011
New Revision: 223718
URL: http://svn.freebsd.org/changeset/base/223718

Log:
  Using .comm to declare intrnames and eintrnames causes binutils 2.17.50 to
  merge the two.

Modified:
  head/sys/sparc64/sparc64/exception.S

Modified: head/sys/sparc64/sparc64/exception.S
==============================================================================
--- head/sys/sparc64/sparc64/exception.S	Sat Jul  2 00:38:10 2011	(r223717)
+++ head/sys/sparc64/sparc64/exception.S	Sat Jul  2 10:17:26 2011	(r223718)
@@ -369,11 +369,18 @@ ENTRY(rsf_fatal)
 	sir
 END(rsf_fatal)
 
-	.comm	intrnames, IV_MAX * (MAXCOMLEN + 1)
-	.comm	eintrnames, 0
+	.data
+	_ALIGN_DATA
+	.globl	intrnames, eintrnames
+intrnames:
+	.space	IV_MAX * (MAXCOMLEN + 1)
+eintrnames:
+	.globl	intrcnt, eintrcnt
+intrcnt:
+	.space	IV_MAX * 8
+eintrcnt:
 
-	.comm	intrcnt, IV_MAX * 8
-	.comm	eintrcnt, 0
+	.text
 
 /*
  * Trap table and associated macros


More information about the svn-src-head mailing list