summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/clone.S
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-02-23 07:00:33 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-02-23 07:00:33 +0000
commit1a08441c06b25efb87de33512674e80a8dedc63e (patch)
tree001faaca77361f043d9d8ec95f7e8e67e61c775d /libc/sysdeps/linux/sh/clone.S
parent2dca8cd6433fe41213ea5ef769ef8286c1a8a5a1 (diff)
Use gcc built-in defines for detecting SH cores instead of
uclibc config option macros (aligning SH to all other archs). Changes applied as below: __CONFIG_SH4__ -> __SH4__ __CONFIG_SH2__ -> __sh2__ __CONFIG_SH2A__ -> __SH2A__ Note: pay attention to capital letters Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/sysdeps/linux/sh/clone.S')
-rw-r--r--libc/sysdeps/linux/sh/clone.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sh/clone.S b/libc/sysdeps/linux/sh/clone.S
index 9446803ba..b912db0ad 100644
--- a/libc/sysdeps/linux/sh/clone.S
+++ b/libc/sysdeps/linux/sh/clone.S
@@ -62,7 +62,7 @@ clone:
mov r6, r4
trapa #(__SH_SYSCALL_TRAP_BASE + 2)
mov r0, r1
-#ifdef __CONFIG_SH2__
+#ifdef __sh2__
/* 12 arithmetic shifts for the crappy sh2, because shad doesn't exist! */
shar r1
shar r1