Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Remove .proc 1, it has been ignored by gas for ages.



details:   https://anonhg.NetBSD.org/src/rev/ebdb3a976955
branches:  trunk
changeset: 810252:ebdb3a976955
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Aug 23 10:59:15 2015 +0000

description:
Remove .proc 1, it has been ignored by gas for ages.

diffstat:

 sys/arch/sparc/include/asm.h        |  4 ++--
 sys/arch/sparc/stand/ofwboot/srt0.s |  3 +--
 sys/arch/sparc64/include/locore.h   |  8 ++++----
 3 files changed, 7 insertions(+), 8 deletions(-)

diffs (64 lines):

diff -r 00714fef3afa -r ebdb3a976955 sys/arch/sparc/include/asm.h
--- a/sys/arch/sparc/include/asm.h      Sun Aug 23 10:53:28 2015 +0000
+++ b/sys/arch/sparc/include/asm.h      Sun Aug 23 10:59:15 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.20 2014/04/12 21:26:45 joerg Exp $ */
+/*     $NetBSD: asm.h,v 1.21 2015/08/23 10:59:15 joerg Exp $ */
 
 /*
  * Copyright (c) 1994 Allen Briggs
@@ -113,7 +113,7 @@
 #define OTYPE(x)               .type x,@object
 
 #define        _ENTRY(name) \
-       .align 4; .globl name; .proc 1; FTYPE(name); name:
+       .align 4; .globl name; FTYPE(name); name:
 
 #ifdef GPROF
 /* see _MCOUNT_ENTRY in profile.h */
diff -r 00714fef3afa -r ebdb3a976955 sys/arch/sparc/stand/ofwboot/srt0.s
--- a/sys/arch/sparc/stand/ofwboot/srt0.s       Sun Aug 23 10:53:28 2015 +0000
+++ b/sys/arch/sparc/stand/ofwboot/srt0.s       Sun Aug 23 10:59:15 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: srt0.s,v 1.6 2007/10/17 19:57:16 garbled Exp $ */
+/*     $NetBSD: srt0.s,v 1.7 2015/08/23 10:59:15 joerg Exp $   */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -136,7 +136,6 @@
  */
        .align 8
        .globl  _C_LABEL(openfirmware)
-       .proc 1
        FTYPE(openfirmware)
 _C_LABEL(openfirmware):
        andcc   %sp, 1, %g0
diff -r 00714fef3afa -r ebdb3a976955 sys/arch/sparc64/include/locore.h
--- a/sys/arch/sparc64/include/locore.h Sun Aug 23 10:53:28 2015 +0000
+++ b/sys/arch/sparc64/include/locore.h Sun Aug 23 10:59:15 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.h,v 1.7 2015/08/23 10:53:28 joerg Exp $ */
+/*     $NetBSD: locore.h,v 1.8 2015/08/23 10:59:15 joerg Exp $ */
 
 /*
  * Copyright (c) 1996-2002 Eduardo Horvath
@@ -167,7 +167,7 @@
 #ifdef GPROF
        .globl  _mcount
 #define        ENTRY(x) \
-       .globl _C_LABEL(x); .proc 1; .type _C_LABEL(x),@function; \
+       .globl _C_LABEL(x); .type _C_LABEL(x),@function; \
 _C_LABEL(x): ; \
        .data; \
        .align 8; \
@@ -179,8 +179,8 @@
        or      %o0, %lo(0b), %o0; \
        restore
 #else
-#define        ENTRY(x)        .globl _C_LABEL(x); .proc 1; \
-       .type _C_LABEL(x),@function; _C_LABEL(x):
+#define        ENTRY(x)        .globl _C_LABEL(x); .type _C_LABEL(x),@function; \
+       _C_LABEL(x):
 #endif
 #define        ALTENTRY(x)     .globl _C_LABEL(x); _C_LABEL(x):
 



Home | Main Index | Thread Index | Old Index