diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2010-09-06 08:00:32 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2010-09-06 08:00:32 +0000 |
commit | c61d22be34c39da43ae4cb1a635f4e8fc2921340 (patch) | |
tree | 9dfcc699b235a256401ec7d6cdf98063af58995d /sys/arch/sh/include | |
parent | b1f48f4dfa92d4af9ee71c850ad7e66699854e24 (diff) |
move away from using /**/ to ## for cpp paste in sh locore
so we can drop -traditional-cpp
ok miod@
Diffstat (limited to 'sys/arch/sh/include')
-rw-r--r-- | sys/arch/sh/include/locore.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/arch/sh/include/locore.h b/sys/arch/sh/include/locore.h index 13aa7bb7a64..75d278bd256 100644 --- a/sys/arch/sh/include/locore.h +++ b/sys/arch/sh/include/locore.h @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.h,v 1.4 2008/06/26 05:42:12 ray Exp $ */ +/* $OpenBSD: locore.h,v 1.5 2010/09/06 08:00:31 jsg Exp $ */ /* $NetBSD: locore.h,v 1.11 2006/01/23 22:32:50 uwe Exp $ */ /*- @@ -28,17 +28,17 @@ */ #if defined(SH3) && defined(SH4) -#define MOV(x, r) mov.l .L_/**/x, r; mov.l @r, r -#define REG_SYMBOL(x) .L_/**/x: .long _C_LABEL(__sh_/**/x) -#define FUNC_SYMBOL(x) .L_/**/x: .long _C_LABEL(__sh_/**/x) +#define MOV(x, r) mov.l .L_##x, r; mov.l @r, r +#define REG_SYMBOL(x) .L_##x: .long _C_LABEL(__sh_##x) +#define FUNC_SYMBOL(x) .L_##x: .long _C_LABEL(__sh_##x) #elif defined(SH3) -#define MOV(x, r) mov.l .L_/**/x, r -#define REG_SYMBOL(x) .L_/**/x: .long SH3_/**/x -#define FUNC_SYMBOL(x) .L_/**/x: .long _C_LABEL(sh3_/**/x) +#define MOV(x, r) mov.l .L_##x, r +#define REG_SYMBOL(x) .L_##x: .long SH3_##x +#define FUNC_SYMBOL(x) .L_##x: .long _C_LABEL(sh3_##x) #elif defined(SH4) -#define MOV(x, r) mov.l .L_/**/x, r -#define REG_SYMBOL(x) .L_/**/x: .long SH4_/**/x -#define FUNC_SYMBOL(x) .L_/**/x: .long _C_LABEL(sh4_/**/x) +#define MOV(x, r) mov.l .L_##x, r +#define REG_SYMBOL(x) .L_##x: .long SH4_##x +#define FUNC_SYMBOL(x) .L_##x: .long _C_LABEL(sh4_##x) #endif /* SH3 && SH4 */ /* |