Module Name: src Committed By: martin Date: Sat Jan 4 18:28:16 UTC 2025
Modified Files: src/sys/arch/sh3/include: asm.h Log Message: PR 58960: sh3/asm.h: Respect _NETBSD_REVISIONID. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/sh3/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/sh3/include/asm.h diff -u src/sys/arch/sh3/include/asm.h:1.29 src/sys/arch/sh3/include/asm.h:1.30 --- src/sys/arch/sh3/include/asm.h:1.29 Fri Apr 17 14:19:44 2020 +++ src/sys/arch/sh3/include/asm.h Sat Jan 4 18:28:16 2025 @@ -1,4 +1,4 @@ -/* $NetBSD: asm.h,v 1.29 2020/04/17 14:19:44 joerg Exp $ */ +/* $NetBSD: asm.h,v 1.30 2025/01/04 18:28:16 martin Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -203,9 +203,16 @@ #define ASMSTR .asciz #ifdef __ELF__ +#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 #else #define RCSID(x) .text; .asciz x #endif