Module Name: src
Committed By: martin
Date: Sat Jan 4 19:29:45 UTC 2025
Modified Files:
src/sys/arch/mips/include: asm.h
Log Message:
PR 58960: mips/asm.h: Respect NETBSD_REVISIONID.
To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/arch/mips/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/mips/include/asm.h
diff -u src/sys/arch/mips/include/asm.h:1.75 src/sys/arch/mips/include/asm.h:1.76
--- src/sys/arch/mips/include/asm.h:1.75 Thu Sep 14 03:37:01 2023
+++ src/sys/arch/mips/include/asm.h Sat Jan 4 19:29:44 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.75 2023/09/14 03:37:01 rin Exp $ */
+/* $NetBSD: asm.h,v 1.76 2025/01/04 19:29:44 martin Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -346,9 +346,16 @@ _C_LABEL(x):
.asciz str; \
.align 3
+#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
/*
* XXX retain dialects XXX