aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-04-25 11:44:02 -0700
committerDavid S. Miller <davem@davemloft.net>2012-04-25 11:52:31 -0700
commitaab39a094e0f1b69d661999e3298972ef3060aa0 (patch)
treea0034dea687d53c45cc26f892562eafdaf3101bd /sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
parent2ed8cda226068bc3d0d735af79e876040717df30 (diff)
downloadglibc-aab39a094e0f1b69d661999e3298972ef3060aa0.tar
glibc-aab39a094e0f1b69d661999e3298972ef3060aa0.tar.gz
glibc-aab39a094e0f1b69d661999e3298972ef3060aa0.tar.bz2
glibc-aab39a094e0f1b69d661999e3298972ef3060aa0.zip
Delete everything under sysdeps/unix/sparc/
* sysdeps/unix/sparc/brk.S: Delete. * sysdeps/unix/sparc/dl-brk.S: Delete. * sysdeps/unix/sparc/pipe.S: Delete. * sysdeps/unix/sparc/sysdep.S: Delete. * sysdeps/unix/sparc/sysdep.h: Delete. * sysdeps/unix/sparc/vfork.S: Delete. * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG, SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define. * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Define. (JUMPTARGET): Remove. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include sysdeps/unix/sparc/sysdep.h (ENTRY, END): Remove. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h28
1 files changed, 4 insertions, 24 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h b/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
index 3424598566..3a1b35909c 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
@@ -20,7 +20,7 @@
#ifndef _LINUX_SPARC32_SYSDEP_H
#define _LINUX_SPARC32_SYSDEP_H 1
-#include <sysdeps/unix/sparc/sysdep.h>
+#include <sysdeps/unix/sysv/linux/sparc/sysdep.h>
#ifdef IS_IN_rtld
# include <dl-sysdep.h> /* Defines RTLD_PRIVATE_ERRNO. */
@@ -34,28 +34,7 @@
#define LOADSYSCALL(x) mov __NR_##x, %g1
-/* Linux/SPARC uses a different trap number */
#undef PSEUDO
-#undef PSEUDO_NOERRNO
-#undef PSEUDO_ERRVAL
-#undef PSEUDO_END
-#undef ENTRY
-#undef END
-#undef LOC
-
-#define ENTRY(name) \
- .align 4; \
- .global C_SYMBOL_NAME(name); \
- .type name, @function; \
-C_LABEL(name) \
- cfi_startproc;
-
-#define END(name) \
- cfi_endproc; \
- .size name, . - name
-
-#define LOC(name) .L##name
-
#define PSEUDO(name, syscall_name, args) \
.text; \
ENTRY(name); \
@@ -66,18 +45,21 @@ ENTRY(name); \
SYSCALL_ERROR_HANDLER \
1:
+#undef PSEUDO_NOERRNO
#define PSEUDO_NOERRNO(name, syscall_name, args)\
.text; \
ENTRY(name); \
LOADSYSCALL(syscall_name); \
ta 0x10;
+#undef PSEUDO_ERRVAL
#define PSEUDO_ERRVAL(name, syscall_name, args) \
.text; \
ENTRY(name); \
LOADSYSCALL(syscall_name); \
ta 0x10;
+#undef PSEUDO_END
#define PSEUDO_END(name) \
END(name)
@@ -141,8 +123,6 @@ ENTRY(name); \
"f24", "f25", "f26", "f27", "f28", "f29", "f30", "f31", \
"cc", "memory"
-#include <sysdeps/unix/sysv/linux/sparc/sysdep.h>
-
#endif /* __ASSEMBLER__ */
/* Pointer mangling support. */