Browse Source

riscv64: remove mpers support

There is no riscv32 Linux support in Linux mainline,
and no compat support in riscv64 as well.

* linux/riscv64/arch_defs_.h: Remove.
* linux/riscv64/ioctls_arch1.h: Likewise.
* linux/riscv64/ioctls_inc1.h: Likewise.
* linux/riscv64/syscallent1.h: Likewise.
* Makefile.am (EXTRA_DIST): Remove them.
* configure.ac (st_MPERS([m32])): Remove riscv64.
* strace.1.in (.SH "MULTIPLE PERSONALITY SUPPORT"): Remove RISC-V
from the list.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
Eugene Syromyatnikov 1 month ago
parent
commit
5177e0a5f3

+ 0
- 4
Makefile.am View File

@@ -739,21 +739,17 @@ EXTRA_DIST =				\
739 739
 	linux/powerpc64le/userent.h	\
740 740
 	linux/ptrace_pokeuser.c		\
741 741
 	linux/raw_syscall.h		\
742
-	linux/riscv64/arch_defs_.h	\
743 742
 	linux/riscv64/arch_get_personality.c \
744 743
 	linux/riscv64/arch_regs.c		\
745 744
 	linux/riscv64/get_error.c		\
746 745
 	linux/riscv64/get_scno.c		\
747 746
 	linux/riscv64/get_syscall_args.c	\
748 747
 	linux/riscv64/ioctls_arch0.h	\
749
-	linux/riscv64/ioctls_arch1.h	\
750 748
 	linux/riscv64/ioctls_inc0.h	\
751
-	linux/riscv64/ioctls_inc1.h	\
752 749
 	linux/riscv64/raw_syscall.h	\
753 750
 	linux/riscv64/set_error.c		\
754 751
 	linux/riscv64/set_scno.c		\
755 752
 	linux/riscv64/syscallent.h	\
756
-	linux/riscv64/syscallent1.h	\
757 753
 	linux/rt_sigframe.h		\
758 754
 	linux/s390/arch_defs_.h		\
759 755
 	linux/s390/arch_regs.c		\

+ 1
- 1
configure.ac View File

@@ -949,7 +949,7 @@ AC_ARG_ENABLE([mpers],
949 949
 	 esac],
950 950
 	[enable_mpers=yes])
951 951
 
952
-st_MPERS([m32], [aarch64|powerpc64|riscv64|s390x|sparc64|tile|x32|x86_64])
952
+st_MPERS([m32], [aarch64|powerpc64|s390x|sparc64|tile|x32|x86_64])
953 953
 st_MPERS([mx32], [x86_64])
954 954
 
955 955
 AX_VALGRIND_DFLT([sgcheck], [off])

+ 0
- 10
linux/riscv64/arch_defs_.h View File

@@ -1,10 +0,0 @@
1
-/*
2
- * Copyright (c) 2018 The strace developers.
3
- * All rights reserved.
4
- *
5
- * SPDX-License-Identifier: LGPL-2.1-or-later
6
- */
7
-
8
-#define HAVE_ARCH_UID16_SYSCALLS 1
9
-#define SUPPORTED_PERSONALITIES 2
10
-#define CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL 1

+ 0
- 1
linux/riscv64/ioctls_arch1.h View File

@@ -1 +0,0 @@
1
-#include "ioctls_arch0.h"

+ 0
- 1
linux/riscv64/ioctls_inc1.h View File

@@ -1 +0,0 @@
1
-#include "32/ioctls_inc.h"

+ 0
- 1
linux/riscv64/syscallent1.h View File

@@ -1 +0,0 @@
1
-#include "32/syscallent.h"

+ 0
- 1
strace.1.in View File

@@ -1059,7 +1059,6 @@ Architecture	ABIs supported
1059 1059
 x86_64	i386, x32 [1]; i386 [2]
1060 1060
 AArch64	ARM 32-bit EABI
1061 1061
 PowerPC 64-bit [3]	PowerPC 32-bit
1062
-RISC-V 64-bit	RISC-V 32-bit
1063 1062
 s390x	s390
1064 1063
 SPARC 64-bit	SPARC 32-bit
1065 1064
 TILE 64-bit	TILE 32-bit

Loading…
Cancel
Save