Module Name: src Committed By: thorpej Date: Fri Jun 4 01:58:02 UTC 2021
Modified Files: src/sys/sys: cdefs_elf.h Log Message: Fix some badly-aligned line continuation escapes. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/sys/cdefs_elf.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/sys/cdefs_elf.h diff -u src/sys/sys/cdefs_elf.h:1.57 src/sys/sys/cdefs_elf.h:1.58 --- src/sys/sys/cdefs_elf.h:1.57 Thu Apr 30 14:32:05 2020 +++ src/sys/sys/cdefs_elf.h Fri Jun 4 01:58:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: cdefs_elf.h,v 1.57 2020/04/30 14:32:05 joerg Exp $ */ +/* $NetBSD: cdefs_elf.h,v 1.58 2021/06/04 01:58:02 thorpej Exp $ */ /* * Copyright (c) 1995, 1996 Carnegie-Mellon University. @@ -31,10 +31,10 @@ #define _SYS_CDEFS_ELF_H_ #ifdef __LEADING_UNDERSCORE -#define _C_LABEL(x) __CONCAT(_,x) +#define _C_LABEL(x) __CONCAT(_,x) #define _C_LABEL_STRING(x) "_"x #else -#define _C_LABEL(x) x +#define _C_LABEL(x) x #define _C_LABEL_STRING(x) x #endif @@ -57,7 +57,7 @@ _C_LABEL_STRING(#alias) " = " _C_LABEL_STRING(#sym)); #define __weak_alias(alias,sym) \ - __asm(".weak " _C_LABEL_STRING(#alias) "\n" \ + __asm(".weak " _C_LABEL_STRING(#alias) "\n" \ _C_LABEL_STRING(#alias) " = " _C_LABEL_STRING(#sym)); /* Do not use __weak_extern, use __weak_reference instead */ @@ -136,12 +136,12 @@ #ifdef __arm__ #if __STDC__ -# define __SECTIONSTRING(_sec, _str) \ +# define __SECTIONSTRING(_sec, _str) \ __asm(".pushsection " #_sec ",\"MS\",%progbits,1\n" \ ".asciz \"" _str "\"\n" \ ".popsection") #else -# define __SECTIONSTRING(_sec, _str) \ +# define __SECTIONSTRING(_sec, _str) \ __asm(".pushsection " _sec ",\"MS\",%progbits,1\n" \ ".asciz \"" _str "\"\n" \ ".popsection")