Module Name:    src
Committed By:   skrll
Date:           Sat Jan  4 21:10:19 UTC 2025

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

Log Message:
PR 58960: hppa/asm.h: Respect _NETBSD_REVISIONID.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/hppa/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/hppa/include/asm.h
diff -u src/sys/arch/hppa/include/asm.h:1.18 src/sys/arch/hppa/include/asm.h:1.19
--- src/sys/arch/hppa/include/asm.h:1.18	Wed Jun  1 06:18:04 2022
+++ src/sys/arch/hppa/include/asm.h	Sat Jan  4 21:10:19 2025
@@ -1,4 +1,4 @@
-/*	$NetBSD: asm.h,v 1.18 2022/06/01 06:18:04 skrll Exp $	*/
+/*	$NetBSD: asm.h,v 1.19 2025/01/04 21:10:19 skrll Exp $	*/
 
 /*	$OpenBSD: asm.h,v 1.12 2001/03/29 02:15:57 mickey Exp $	*/
 
@@ -99,9 +99,16 @@
 #define ALTENTRY(x) ! .export x, entry ! .label x
 #define EXIT(x) ! .exit ! .procend ! .size x, .-x
 
+#ifdef _NETBSD_REVISIONID
+#define RCSID(x)	.pushsection ".ident","MS",@progbits,1;		\
+			.asciz "$" "NetBSD: " __FILE__			\
+			    " " _NETBSD_REVISIONID " $";		\
+			.popsection
+#else
 #define RCSID(x)	.pushsection ".ident","MS",@progbits,1;		\
 			.asciz x;					\
 			.popsection
+#endif
 
 #define WEAK_ALIAS(alias,sym)				\
 	.weak alias !					\

Reply via email to