Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Fix some badly-aligned line continuation escapes.



details:   https://anonhg.NetBSD.org/src/rev/a751e537fa00
branches:  trunk
changeset: 379509:a751e537fa00
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Jun 04 01:58:02 2021 +0000

description:
Fix some badly-aligned line continuation escapes.

diffstat:

 sys/sys/cdefs_elf.h |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (46 lines):

diff -r 74de721ef734 -r a751e537fa00 sys/sys/cdefs_elf.h
--- a/sys/sys/cdefs_elf.h       Fri Jun 04 01:42:14 2021 +0000
+++ b/sys/sys/cdefs_elf.h       Fri Jun 04 01:58:02 2021 +0000
@@ -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")



Home | Main Index | Thread Index | Old Index