summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/shsim/trap34/console-support.S
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-04-18 10:52:21 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-04-22 08:37:01 -0500
commita531683ae99448696a29127a056e126493fe1e37 (patch)
tree53a55c23a7212233a04bff8d9eba9079281dcd89 /c/src/lib/libbsp/sh/shsim/trap34/console-support.S
parentbsps: Fix TLS support in linker command files (diff)
downloadrtems-a531683ae99448696a29127a056e126493fe1e37.tar.bz2
shsim: Add printk() support and move all code to console subdirectory
Diffstat (limited to 'c/src/lib/libbsp/sh/shsim/trap34/console-support.S')
-rw-r--r--c/src/lib/libbsp/sh/shsim/trap34/console-support.S18
1 files changed, 0 insertions, 18 deletions
diff --git a/c/src/lib/libbsp/sh/shsim/trap34/console-support.S b/c/src/lib/libbsp/sh/shsim/trap34/console-support.S
deleted file mode 100644
index 63f72f794b..0000000000
--- a/c/src/lib/libbsp/sh/shsim/trap34/console-support.S
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * newlib-1.8.2/newlib/libc/sys/sh/trap.S
- */
- .text
- .global ___trap34
-___trap34:
- trapa #34
- tst r1,r1 ! r1 is errno
- bt ret
- mov.l perrno,r2
- mov.l r1,@r2
-ret:
- rts
- nop
-
- .align 2
-perrno:
- .long _errno