| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: asm.h,v 1.37 2020/04/17 14:19:43 joerg Exp $ */ | | 1 | /* $NetBSD: asm.h,v 1.38 2020/04/18 10:30:49 martin Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University | | 4 | * Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University |
5 | * All Rights Reserved. | | 5 | * All Rights Reserved. |
6 | * | | 6 | * |
7 | * Permission to use, copy, modify and distribute this software and its | | 7 | * Permission to use, copy, modify and distribute this software and its |
8 | * documentation is hereby granted, provided that both the copyright | | 8 | * documentation is hereby granted, provided that both the copyright |
9 | * notice and this permission notice appear in all copies of the | | 9 | * notice and this permission notice appear in all copies of the |
10 | * software, derivative works or modified versions, and any portions | | 10 | * software, derivative works or modified versions, and any portions |
11 | * thereof, and that both notices appear in supporting documentation. | | 11 | * thereof, and that both notices appear in supporting documentation. |
12 | * | | 12 | * |
13 | * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" | | 13 | * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" |
14 | * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR | | 14 | * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR |
| @@ -634,27 +634,27 @@ label: ASCIZ msg; \ | | | @@ -634,27 +634,27 @@ label: ASCIZ msg; \ |
634 | .popsection | | 634 | .popsection |
635 | #else | | 635 | #else |
636 | #define WARN_REFERENCES(sym,msg) \ | | 636 | #define WARN_REFERENCES(sym,msg) \ |
637 | .pushsection .gnu.warning./**/sym; \ | | 637 | .pushsection .gnu.warning./**/sym; \ |
638 | .ascii msg; \ | | 638 | .ascii msg; \ |
639 | .popsection | | 639 | .popsection |
640 | #endif /* __STDC__ */ | | 640 | #endif /* __STDC__ */ |
641 | | | 641 | |
642 | /* | | 642 | /* |
643 | * Kernel RCS ID tag and copyright macros | | 643 | * Kernel RCS ID tag and copyright macros |
644 | */ | | 644 | */ |
645 | #define __SECTIONSTRING(_sec, _str) \ | | 645 | #define __SECTIONSTRING(_sec, _str) \ |
646 | .pushsection _sec,"MS",@progbits,1; \ | | 646 | .pushsection _sec,"MS",@progbits,1; \ |
647 | .asciz x; \ | | 647 | .asciz _str; \ |
648 | .popsection | | 648 | .popsection |
649 | | | 649 | |
650 | #ifdef _KERNEL | | 650 | #ifdef _KERNEL |
651 | | | 651 | |
652 | #define __KERNEL_RCSID(_n, _s) __SECTIONSTRING(.ident, _s) | | 652 | #define __KERNEL_RCSID(_n, _s) __SECTIONSTRING(.ident, _s) |
653 | #define __KERNEL_COPYRIGHT(_n, _s) __SECTIONSTRING(.copyright, _s) | | 653 | #define __KERNEL_COPYRIGHT(_n, _s) __SECTIONSTRING(.copyright, _s) |
654 | | | 654 | |
655 | #ifdef NO_KERNEL_RCSIDS | | 655 | #ifdef NO_KERNEL_RCSIDS |
656 | #undef __KERNEL_RCSID | | 656 | #undef __KERNEL_RCSID |
657 | #define __KERNEL_RCSID(_n, _s) /* nothing */ | | 657 | #define __KERNEL_RCSID(_n, _s) /* nothing */ |
658 | #endif | | 658 | #endif |
659 | | | 659 | |
660 | #if defined(MULTIPROCESSOR) | | 660 | #if defined(MULTIPROCESSOR) |