Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Put RCSIDs in section .ident. (use .pushsection/.p...
details: https://anonhg.NetBSD.org/src/rev/637e0dd1a155
branches: trunk
changeset: 761970:637e0dd1a155
user: matt <matt%NetBSD.org@localhost>
date: Sat Feb 12 16:31:32 2011 +0000
description:
Put RCSIDs in section .ident. (use .pushsection/.popsection)
diffstat:
sys/arch/hppa/include/asm.h | 6 +++---
sys/arch/m68k/include/asm.h | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (42 lines):
diff -r df7575595087 -r 637e0dd1a155 sys/arch/hppa/include/asm.h
--- a/sys/arch/hppa/include/asm.h Sat Feb 12 16:30:42 2011 +0000
+++ b/sys/arch/hppa/include/asm.h Sat Feb 12 16:31:32 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.12 2010/12/20 21:11:24 joerg Exp $ */
+/* $NetBSD: asm.h,v 1.13 2011/02/12 16:31:32 matt Exp $ */
/* $OpenBSD: asm.h,v 1.12 2001/03/29 02:15:57 mickey Exp $ */
@@ -97,9 +97,9 @@
#define ALTENTRY(x) ! .export x, entry ! .label x
#define EXIT(x) ! .exit ! .procend ! .size x, .-x
-#define RCSID(x) .text !\
+#define RCSID(x) .pushsection ".ident" !\
.asciz x !\
- .align 4
+ .popsection
#define WEAK_ALIAS(alias,sym) \
.weak alias ! \
diff -r df7575595087 -r 637e0dd1a155 sys/arch/m68k/include/asm.h
--- a/sys/arch/m68k/include/asm.h Sat Feb 12 16:30:42 2011 +0000
+++ b/sys/arch/m68k/include/asm.h Sat Feb 12 16:31:32 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.27 2010/12/20 21:11:25 joerg Exp $ */
+/* $NetBSD: asm.h,v 1.28 2011/02/12 16:32:36 matt Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -135,9 +135,9 @@
#define ALTENTRY(name, rname) _ENTRY(_C_LABEL(name))
#endif
-#define RCSID(x) .text ; \
+#define RCSID(x) .pushsection ".ident" ; \
.asciz x ; \
- .even
+ .popsection
/*
* Global variables of whatever sort.
Home |
Main Index |
Thread Index |
Old Index