[PATCH v1 1/2] riscv: rename riscv64 -> riscv
Karol Gugala
kgugala at antmicro.com
Sat Feb 6 15:18:24 UTC 2021
RISC-V code is generic and can be used not only
on 64 bit hosts.
Signed-off-by: Karol Gugala <kgugala at antmicro.com>
---
Makefile.am | 22 ++++++++++-----------
configure.ac | 4 ++--
linux/{riscv64 => riscv}/arch_regs.c | 0
linux/{riscv64 => riscv}/get_error.c | 0
linux/{riscv64 => riscv}/get_scno.c | 0
linux/{riscv64 => riscv}/get_syscall_args.c | 0
linux/{riscv64 => riscv}/ioctls_arch0.h | 0
linux/{riscv64 => riscv}/ioctls_inc0.h | 0
linux/{riscv64 => riscv}/raw_syscall.h | 0
linux/{riscv64 => riscv}/set_error.c | 0
linux/{riscv64 => riscv}/set_scno.c | 0
linux/{riscv64 => riscv}/syscallent.h | 0
12 files changed, 13 insertions(+), 13 deletions(-)
rename linux/{riscv64 => riscv}/arch_regs.c (100%)
rename linux/{riscv64 => riscv}/get_error.c (100%)
rename linux/{riscv64 => riscv}/get_scno.c (100%)
rename linux/{riscv64 => riscv}/get_syscall_args.c (100%)
rename linux/{riscv64 => riscv}/ioctls_arch0.h (100%)
rename linux/{riscv64 => riscv}/ioctls_inc0.h (100%)
rename linux/{riscv64 => riscv}/raw_syscall.h (100%)
rename linux/{riscv64 => riscv}/set_error.c (100%)
rename linux/{riscv64 => riscv}/set_scno.c (100%)
rename linux/{riscv64 => riscv}/syscallent.h (100%)
diff --git a/Makefile.am b/Makefile.am
index b72c9122..1158f3e9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,7 @@
# Copyright (c) 2006-2016 Dmitry V. Levin <ldv at strace.io>
# Copyright (c) 2008-2015 Mike Frysinger <vapier at gentoo.org>
# Copyright (c) 2015 Elvira Khabirova <lineprinter0 at gmail.com>
-# Copyright (c) 2002-2020 The strace developers.
+# Copyright (c) 2002-2021 The strace developers.
# All rights reserved.
#
# SPDX-License-Identifier: LGPL-2.1-or-later
@@ -767,16 +767,16 @@ EXTRA_DIST = \
linux/powerpc64le/userent.h \
linux/ptrace_pokeuser.c \
linux/raw_syscall.h \
- linux/riscv64/arch_regs.c \
- linux/riscv64/get_error.c \
- linux/riscv64/get_scno.c \
- linux/riscv64/get_syscall_args.c \
- linux/riscv64/ioctls_arch0.h \
- linux/riscv64/ioctls_inc0.h \
- linux/riscv64/raw_syscall.h \
- linux/riscv64/set_error.c \
- linux/riscv64/set_scno.c \
- linux/riscv64/syscallent.h \
+ linux/riscv/arch_regs.c \
+ linux/riscv/get_error.c \
+ linux/riscv/get_scno.c \
+ linux/riscv/get_syscall_args.c \
+ linux/riscv/ioctls_arch0.h \
+ linux/riscv/ioctls_inc0.h \
+ linux/riscv/raw_syscall.h \
+ linux/riscv/set_error.c \
+ linux/riscv/set_scno.c \
+ linux/riscv/syscallent.h \
linux/rt_sigframe.h \
linux/s390/arch_defs_.h \
linux/s390/arch_regs.c \
diff --git a/configure.ac b/configure.ac
index c199f02d..74b64089 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@
# Copyright (c) 2006-2016 Dmitry V. Levin <ldv at strace.io>
# Copyright (c) 2008-2015 Mike Frysinger <vapier at gentoo.org>
# Copyright (c) 2015 Elvira Khabirova <lineprinter0 at gmail.com>
-# Copyright (c) 2002-2020 The strace developers.
+# Copyright (c) 2002-2021 The strace developers.
# All rights reserved.
#
# SPDX-License-Identifier: LGPL-2.1-or-later
@@ -149,7 +149,7 @@ powerpc*)
fi
;;
riscv64*)
- arch=riscv64
+ arch=riscv
AC_DEFINE([RISCV64], 1, [Define for the RISC-V 64-bit architecture])
;;
s390)
diff --git a/linux/riscv64/arch_regs.c b/linux/riscv/arch_regs.c
similarity index 100%
rename from linux/riscv64/arch_regs.c
rename to linux/riscv/arch_regs.c
diff --git a/linux/riscv64/get_error.c b/linux/riscv/get_error.c
similarity index 100%
rename from linux/riscv64/get_error.c
rename to linux/riscv/get_error.c
diff --git a/linux/riscv64/get_scno.c b/linux/riscv/get_scno.c
similarity index 100%
rename from linux/riscv64/get_scno.c
rename to linux/riscv/get_scno.c
diff --git a/linux/riscv64/get_syscall_args.c b/linux/riscv/get_syscall_args.c
similarity index 100%
rename from linux/riscv64/get_syscall_args.c
rename to linux/riscv/get_syscall_args.c
diff --git a/linux/riscv64/ioctls_arch0.h b/linux/riscv/ioctls_arch0.h
similarity index 100%
rename from linux/riscv64/ioctls_arch0.h
rename to linux/riscv/ioctls_arch0.h
diff --git a/linux/riscv64/ioctls_inc0.h b/linux/riscv/ioctls_inc0.h
similarity index 100%
rename from linux/riscv64/ioctls_inc0.h
rename to linux/riscv/ioctls_inc0.h
diff --git a/linux/riscv64/raw_syscall.h b/linux/riscv/raw_syscall.h
similarity index 100%
rename from linux/riscv64/raw_syscall.h
rename to linux/riscv/raw_syscall.h
diff --git a/linux/riscv64/set_error.c b/linux/riscv/set_error.c
similarity index 100%
rename from linux/riscv64/set_error.c
rename to linux/riscv/set_error.c
diff --git a/linux/riscv64/set_scno.c b/linux/riscv/set_scno.c
similarity index 100%
rename from linux/riscv64/set_scno.c
rename to linux/riscv/set_scno.c
diff --git a/linux/riscv64/syscallent.h b/linux/riscv/syscallent.h
similarity index 100%
rename from linux/riscv64/syscallent.h
rename to linux/riscv/syscallent.h
--
2.29.2
More information about the Strace-devel
mailing list