Module Name:    src
Committed By:   joerg
Date:           Sun Aug 23 11:01:24 UTC 2015

Modified Files:
        src/sys/arch/sparc/include: asm.h

Log Message:
Use .word for data that is known to be aligned.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/sparc/include/asm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sparc/include/asm.h
diff -u src/sys/arch/sparc/include/asm.h:1.21 src/sys/arch/sparc/include/asm.h:1.22
--- src/sys/arch/sparc/include/asm.h:1.21	Sun Aug 23 10:59:15 2015
+++ src/sys/arch/sparc/include/asm.h	Sun Aug 23 11:01:24 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: asm.h,v 1.21 2015/08/23 10:59:15 joerg Exp $ */
+/*	$NetBSD: asm.h,v 1.22 2015/08/23 11:01:24 joerg Exp $ */
 
 /*
  * Copyright (c) 1994 Allen Briggs
@@ -120,7 +120,7 @@
 #ifdef __ELF__
 #ifdef __arch64__
 #define _PROF_PROLOGUE \
-	.data; .align 8; 1: .uaword 0; .uaword 0; \
+	.data; .align 8; 1: .word 0; .word 0; \
 	.text; save %sp,-CC64FSZ,%sp; sethi %hi(1b),%o0; call _mcount; \
 	or %o0,%lo(1b),%o0; restore
 #else
@@ -132,7 +132,7 @@
 #else
 #ifdef __arch64__
 #define _PROF_PROLOGUE \
-	.data; .align 8; 1: .uaword 0; .uaword 0; \
+	.data; .align 8; 1: .word 0; .word 0; \
 	.text; save %sp,-CC64FSZ,%sp; sethi %hi(1b),%o0; call mcount; \
 	or %o0,%lo(1b),%o0; restore
 #else

Reply via email to