aboutsummaryrefslogtreecommitdiff
path: root/libgloss/arm/libcfunc.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-12-25 23:05:24 +0000
committerKazu Hirata <kazu@codesourcery.com>2006-12-25 23:05:24 +0000
commit3e0c6ff3a7e1e44cdf0cfa60f627a5a73de5b345 (patch)
tree5b06174b863dbcb3f902e96cac2015209bbf3183 /libgloss/arm/libcfunc.c
parent7f0213da6b0da60c406dfaaa1840741c3feaddb4 (diff)
downloadnewlib-3e0c6ff3a7e1e44cdf0cfa60f627a5a73de5b345.zip
newlib-3e0c6ff3a7e1e44cdf0cfa60f627a5a73de5b345.tar.gz
newlib-3e0c6ff3a7e1e44cdf0cfa60f627a5a73de5b345.tar.bz2
* arm/licfunc.c (do_AngelSWI): Remove.
* arm/syscalls.c (do_AngelSWI): Remove. * arm/swi.h (do_AngelSWI): New.
Diffstat (limited to 'libgloss/arm/libcfunc.c')
-rw-r--r--libgloss/arm/libcfunc.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libgloss/arm/libcfunc.c b/libgloss/arm/libcfunc.c
index 335b175..c8cedad 100644
--- a/libgloss/arm/libcfunc.c
+++ b/libgloss/arm/libcfunc.c
@@ -10,20 +10,6 @@
#include <errno.h>
#include <unistd.h>
-#ifdef ARM_RDI_MONITOR
-static inline int
-do_AngelSWI (int reason, void * arg)
-{
- int value;
- asm volatile ("mov r0, %1; mov r1, %2; " AngelSWIInsn " %a3; mov %0, r0"
- : "=r" (value) /* Outputs */
- : "r" (reason), "r" (arg), "i" (AngelSWI) /* Inputs */
- : "r0", "r1", "lr"
- /* Clobbers r0 and r1, and lr if in supervisor mode */);
- return value;
-}
-#endif /* ARM_RDI_MONITOR */
-
unsigned __attribute__((weak))
alarm (unsigned seconds)
{