]> granicus.if.org Git - strace/commitdiff
sparc, sparc64: remove obsolete code
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 23 Aug 2016 00:24:03 +0000 (00:24 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 23 Aug 2016 00:24:03 +0000 (00:24 +0000)
Remove remains of solaris personality support.
This complements commit v4.10-45-gdf4dd8b.

* file.c [SPARC || SPARC64] (SYS_FUNC(xstat), SYS_FUNC(fxstat)): Remove.

file.c

diff --git a/file.c b/file.c
index 51e8e41d31d824ac0d84992be9d7572c9945986b..40f640607bb087de0c1c4fa3c303c53ea825df34 100644 (file)
--- a/file.c
+++ b/file.c
@@ -330,31 +330,3 @@ SYS_FUNC(oldfstat)
 }
 
 #endif /* HAVE_STRUCT___OLD_KERNEL_STAT */
-
-#if defined(SPARC) || defined(SPARC64)
-
-SYS_FUNC(xstat)
-{
-       if (entering(tcp)) {
-               tprintf("%ld, ", tcp->u_arg[0]);
-               printpath(tcp, tcp->u_arg[1]);
-               tprints(", ");
-       } else {
-               printstat(tcp, tcp->u_arg[2]);
-       }
-       return 0;
-}
-
-SYS_FUNC(fxstat)
-{
-       if (entering(tcp)) {
-               tprintf("%ld, ", tcp->u_arg[0]);
-               printfd(tcp, tcp->u_arg[1]);
-               tprints(", ");
-       } else {
-               printstat(tcp, tcp->u_arg[2]);
-       }
-       return 0;
-}
-
-#endif /* SPARC || SPARC64 */