svn commit: r224368 - stable/7/sys/sparc64/sparc64

Marius Strobl marius at FreeBSD.org
Mon Jul 25 18:34:42 UTC 2011


Author: marius
Date: Mon Jul 25 18:34:42 2011
New Revision: 224368
URL: http://svn.freebsd.org/changeset/base/224368

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

Modified:
  stable/7/sys/sparc64/sparc64/exception.S
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/sparc64/sparc64/exception.S
==============================================================================
--- stable/7/sys/sparc64/sparc64/exception.S	Mon Jul 25 18:32:56 2011	(r224367)
+++ stable/7/sys/sparc64/sparc64/exception.S	Mon Jul 25 18:34:42 2011	(r224368)
@@ -365,11 +365,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-stable-7 mailing list