Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/include Use .word for data that is known to b...



details:   https://anonhg.NetBSD.org/src/rev/cef846a08e4b
branches:  trunk
changeset: 340111:cef846a08e4b
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Aug 23 11:01:24 2015 +0000

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

diffstat:

 sys/arch/sparc/include/asm.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 337ce488caa7 -r cef846a08e4b sys/arch/sparc/include/asm.h
--- a/sys/arch/sparc/include/asm.h      Sun Aug 23 10:59:15 2015 +0000
+++ b/sys/arch/sparc/include/asm.h      Sun Aug 23 11:01:24 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index