about summary refs log tree commit diff
path: root/arch/or1k
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-04-10 18:07:51 -0400
committerRich Felker <dalias@aerifal.cx>2019-04-10 18:07:51 -0400
commitf76d51a1cca1236efc50ee60c0bad3354079b854 (patch)
tree670c7b153ce4f77021afe3a8e24046a5b0bf8e1a /arch/or1k
parent22e5bbd0deadcbd767864bd714e890b70e1fe1df (diff)
downloadmusl-f76d51a1cca1236efc50ee60c0bad3354079b854.tar.gz
musl-f76d51a1cca1236efc50ee60c0bad3354079b854.tar.xz
musl-f76d51a1cca1236efc50ee60c0bad3354079b854.zip
remove cruft for supposedly-buggy clang from or1k & microblaze syscall_arch
it was never demonstrated to me that this workaround was needed, and
seems likely that, if there ever was any clang version for which it
was needed, it's old enough to be unusably buggy in other ways. if it
turns out some compilers actually can't do the register allocation
right, we'll need to replace this with inline shuffling code, since
the external __syscall dependency is being removed.
Diffstat (limited to 'arch/or1k')
-rw-r--r--arch/or1k/syscall_arch.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/or1k/syscall_arch.h b/arch/or1k/syscall_arch.h
index caff7ece..5a9b074a 100644
--- a/arch/or1k/syscall_arch.h
+++ b/arch/or1k/syscall_arch.h
@@ -5,8 +5,6 @@
 
 #define SYSCALL_MMAP2_UNIT 8192ULL
 
-#ifndef __clang__
-
 static __inline long __syscall0(long n)
 {
 	register unsigned long r11 __asm__("r11") = n;
@@ -113,10 +111,3 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
 				"r23", "r25", "r27", "r29", "r31");
 	return r11;
 }
-
-#else
-
-#undef SYSCALL_NO_INLINE
-#define SYSCALL_NO_INLINE
-
-#endif