qemu: fix patches -Np1

This commit is contained in:
Đoàn Trần Công Danh 2021-06-25 08:14:40 +07:00
parent 1ad0e95113
commit 695ba748ce
1 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ Subject: [PATCH] support ppcle architecture
5 files changed, 27 insertions(+), 3 deletions(-)
create mode 100644 default-configs/targets/ppcle-linux-user.mak
diff --git configure configure
diff --git a/configure b/configure
index 18c26e0..03d3e18 100755
--- a/configure
+++ b/configure
@ -58,7 +58,7 @@ index 18c26e0..03d3e18 100755
ppc64le)
echo "cpu_family = 'ppc64'" >> $cross
;;
diff --git default-configs/targets/ppcle-linux-user.mak default-configs/targets/ppcle-linux-user.mak
diff --git a/default-configs/targets/ppcle-linux-user.mak b/default-configs/targets/ppcle-linux-user.mak
new file mode 100644
index 0000000..2259243
--- /dev/null
@ -68,7 +68,7 @@ index 0000000..2259243
+TARGET_SYSTBL_ABI=common,nospu,32
+TARGET_SYSTBL=syscall.tbl
+TARGET_XML_FILES= gdb-xml/power-core.xml gdb-xml/power-fpu.xml gdb-xml/power-altivec.xml gdb-xml/power-spe.xml
diff --git linux-user/ppc/target_syscall.h linux-user/ppc/target_syscall.h
diff --git a/linux-user/ppc/target_syscall.h b/linux-user/ppc/target_syscall.h
index b9c4b81..cf26497 100644
--- a/linux-user/ppc/target_syscall.h
+++ b/linux-user/ppc/target_syscall.h
@ -84,7 +84,7 @@ index b9c4b81..cf26497 100644
#endif
#define UNAME_MINIMUM_RELEASE "2.6.32"
diff --git scripts/qemu-binfmt-conf.sh scripts/qemu-binfmt-conf.sh
diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh
index 9f1580a..393943f 100755
--- a/scripts/qemu-binfmt-conf.sh
+++ b/scripts/qemu-binfmt-conf.sh
@ -108,7 +108,7 @@ index 9f1580a..393943f 100755
echo "ppcle"
;;
arm|armel|armhf|arm64|armv[4-9]*l|aarch64)
diff --git tests/tcg/configure.sh tests/tcg/configure.sh
diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh
index e1b70e2..e07f5fe 100755
--- a/tests/tcg/configure.sh
+++ b/tests/tcg/configure.sh