Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include Use ## for concatenation



details:   https://anonhg.NetBSD.org/src/rev/4bd827c5b847
branches:  trunk
changeset: 327122:4bd827c5b847
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Feb 27 18:12:28 2014 +0000

description:
Use ## for concatenation

diffstat:

 sys/arch/powerpc/include/asm.h |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (36 lines):

diff -r 5b4a45b79d45 -r 4bd827c5b847 sys/arch/powerpc/include/asm.h
--- a/sys/arch/powerpc/include/asm.h    Thu Feb 27 18:12:11 2014 +0000
+++ b/sys/arch/powerpc/include/asm.h    Thu Feb 27 18:12:28 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.43 2014/02/27 15:58:03 matt Exp $    */
+/*     $NetBSD: asm.h,v 1.44 2014/02/27 18:12:28 matt Exp $    */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -108,19 +108,19 @@
 
 # define _ENTRY(y)                     \
        .globl  y;                      \
-       .section ".opd","aw";           \
+       .pushsection ".opd","aw";       \
        .align  3;                      \
-y:     .quad   .y,.TOC.@tocbase,0;     \
-       .previous;                      \
+y:     .quad   .##y,.TOC.@tocbase,0;   \
+       .popsection;                    \
        .size   y,24;                   \
-       .type   .y,@function;           \
-       .globl  .y;                     \
+       .type   .##y,@function;         \
+       .globl  .##y;                   \
        .align  3;                      \
-.y:
+.##y:
 
 # define ENTRY(y) _ENTRY(y)
 
-# define END(y)
+# define END(y)        .size .##y,. - .##y
 
 # define CALL(y)                       \
        bl      .y;                     \



Home | Main Index | Thread Index | Old Index