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 provide _ENTRY(x) because some code...



details:   https://anonhg.NetBSD.org/src/rev/2fc434034b5b
branches:  trunk
changeset: 782883:2fc434034b5b
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 25 01:10:37 2012 +0000

description:
provide _ENTRY(x) because some code needs it.

diffstat:

 sys/arch/powerpc/include/asm.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 2a2ef36d8a74 -r 2fc434034b5b sys/arch/powerpc/include/asm.h
--- a/sys/arch/powerpc/include/asm.h    Sun Nov 25 01:05:49 2012 +0000
+++ b/sys/arch/powerpc/include/asm.h    Sun Nov 25 01:10:37 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.39 2011/10/26 01:46:11 christos Exp $        */
+/*     $NetBSD: asm.h,v 1.40 2012/11/25 01:10:37 christos Exp $        */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -106,7 +106,7 @@
 # define SF_LR         16
 # define SF_PARAM      SF_HEADER_SZ
 
-# define ENTRY(y)                      \
+# define _ENTRY(y)                     \
        .globl  y;                      \
        .section ".opd","aw";           \
        .align  3;                      \
@@ -118,6 +118,8 @@
        .align  3;                      \
 .y:
 
+# define ENTRY(y) _ENTRY(y)
+
 # define END(y)
 
 # define CALL(y)                       \



Home | Main Index | Thread Index | Old Index