summaryrefslogtreecommitdiff
path: root/src/thread/superh/syscall_cp.s
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-02-27 22:03:25 -0500
committerRich Felker <dalias@aerifal.cx>2014-02-27 22:03:25 -0500
commitaacd348637e38795dd7ae3c7c8c908d8c0cd24fd (patch)
tree3055797eea08dafe99dcdbd1e7efabd44bcb723b /src/thread/superh/syscall_cp.s
parentb9f7f2e8762922a1a24d41358164ebe9ae437e31 (diff)
downloadmusl-aacd348637e38795dd7ae3c7c8c908d8c0cd24fd.tar.gz
rename superh port to "sh" for consistency
linux, gcc, etc. all use "sh" as the name for the superh arch. there was already some inconsistency internally in musl: the dynamic linker was searching for "ld-musl-sh.path" as its path file despite its own name being "ld-musl-superh.so.1". there was some sentiment in both directions as to how to resolve the inconsistency, but overall "sh" was favored.
Diffstat (limited to 'src/thread/superh/syscall_cp.s')
-rw-r--r--src/thread/superh/syscall_cp.s39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/thread/superh/syscall_cp.s b/src/thread/superh/syscall_cp.s
deleted file mode 100644
index 5677b9c0..00000000
--- a/src/thread/superh/syscall_cp.s
+++ /dev/null
@@ -1,39 +0,0 @@
-.text
-.global __syscall_cp_asm
-.type __syscall_cp_asm, @function
-__syscall_cp_asm:
-
-.global __cp_begin
-__cp_begin:
- mov.l @r4, r4
- tst r4, r4
- bt 2f
-
- mov.l L1, r0
- braf r0
- nop
-1:
-
-.align 2
-L1: .long __cancel@PLT-(1b-.)
-
-2: mov r5, r3
- mov r6, r4
- mov r7, r5
- mov.l @r15, r6
- mov.l @(4,r15), r7
- mov.l @(8,r15), r0
- mov.l @(12,r15), r1
- trapa #22
-
-.global __cp_end
-__cp_end:
- ! work around hardware bug
- or r0, r0
- or r0, r0
- or r0, r0
- or r0, r0
- or r0, r0
-
- rts
- nop