Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha Use .pushsection/.popsection for __KERNEL_RCS...



details:   https://anonhg.NetBSD.org/src/rev/df7575595087
branches:  trunk
changeset: 761969:df7575595087
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Feb 12 16:30:42 2011 +0000

description:
Use .pushsection/.popsection for __KERNEL_RCSID/__KERNEL_COPYRIGHT.
Add an explicit .text to linux_sigcode.s

diffstat:

 sys/arch/alpha/alpha/linux_sigcode.s |  5 +++--
 sys/arch/alpha/include/asm.h         |  4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r ab2cfd017328 -r df7575595087 sys/arch/alpha/alpha/linux_sigcode.s
--- a/sys/arch/alpha/alpha/linux_sigcode.s      Sat Feb 12 16:30:22 2011 +0000
+++ b/sys/arch/alpha/alpha/linux_sigcode.s      Sat Feb 12 16:30:42 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_sigcode.s,v 1.3 2008/04/28 20:23:10 martin Exp $ */
+/* $NetBSD: linux_sigcode.s,v 1.4 2011/02/12 16:30:42 matt Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -63,12 +63,13 @@
 
 #include <machine/asm.h>
 
-__KERNEL_RCSID(0, "$NetBSD: linux_sigcode.s,v 1.3 2008/04/28 20:23:10 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sigcode.s,v 1.4 2011/02/12 16:30:42 matt Exp $");
 
 #include "assym.h"
 
 .stabs __FILE__,132,0,0,kernel_text
 
+       .text
 /*
  * Linux signal trampoline code.  Almost identical to the normal one.
  */
diff -r ab2cfd017328 -r df7575595087 sys/arch/alpha/include/asm.h
--- a/sys/arch/alpha/include/asm.h      Sat Feb 12 16:30:22 2011 +0000
+++ b/sys/arch/alpha/include/asm.h      Sat Feb 12 16:30:42 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.31 2010/12/20 21:11:24 joerg Exp $ */
+/* $NetBSD: asm.h,v 1.32 2011/02/12 16:30:43 matt Exp $ */
 
 /* 
  * Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University
@@ -646,7 +646,7 @@
 #ifdef _KERNEL
 
 #define        __KERNEL_SECTIONSTRING(_sec, _str)                              \
-       .section _sec ; .asciz _str ; .text
+       .pushsection _sec ; .asciz _str ; .popsection
 
 #define        __KERNEL_RCSID(_n, _s)          __KERNEL_SECTIONSTRING(.ident, _s)
 #define        __KERNEL_COPYRIGHT(_n, _s)      __KERNEL_SECTIONSTRING(.copyright, _s)



Home | Main Index | Thread Index | Old Index