Module Name: src Committed By: martin Date: Sun Jan 5 16:52:19 UTC 2025
Modified Files: src/sys/arch/or1k/include: asm.h Log Message: 58960: or1k/asm.h: Respect NETBSD_REVISIONID. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/or1k/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/or1k/include/asm.h diff -u src/sys/arch/or1k/include/asm.h:1.2 src/sys/arch/or1k/include/asm.h:1.3 --- src/sys/arch/or1k/include/asm.h:1.2 Fri Apr 17 14:19:44 2020 +++ src/sys/arch/or1k/include/asm.h Sun Jan 5 16:52:19 2025 @@ -1,4 +1,4 @@ -/* $NetBSD: asm.h,v 1.2 2020/04/17 14:19:44 joerg Exp $ */ +/* $NetBSD: asm.h,v 1.3 2025/01/05 16:52:19 martin Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -83,9 +83,16 @@ #define PLT(x) x #endif +#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 RCSID(x) __RCSID(x) #define WEAK_ALIAS(alias,sym) \