Skip to contentSkip to conversation

Remove remainders of HPPA backend

PATCH Applied Thomas Huth 2 participants 2 messages Sep 13, 2016 – Sep 14, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove remainders of HPPA backend

The HPPA backend has been removed by the following commit:

802b5081233a6b643a8b135a5facaf14bafaa77d
tcg-hppa: Remove tcg backend

But some small pieces of the HPPA backend still survived until today. Since we also do not have support for a HPPA target in QEMU, we can nowadays safely remove the remaining HPPA parts (like the disassembler code, or the detection of HPPA in the configure script).

---
 configure                 |    5 -
 disas.c                   |    2 -
 disas/Makefile.objs       |    1 -
 disas/hppa.c              | 2832 ---------------------------------------------
 linux-user/syscall_defs.h |    4 +-
 qemu-tech.texi            |    3 +-
 tcg/tci/README            |    2 +-
 7 files changed, 4 insertions(+), 2845 deletions(-)
 delete mode 100644 disas/hppa.c
configure +0 -5
index 331c36f..a4ef8a1 100755
@@ -506,8 +506,6 @@ elif check_define __arm__ ; then
   cpu="arm"
 elif check_define __aarch64__ ; then
   cpu="aarch64"
-elif check_define __hppa__ ; then
-  cpu="hppa"
 else
   cpu=$(uname -m)
 fi
@@ -5893,9 +5891,6 @@ for i in $ARCH $TARGET_BASE_ARCH ; do
   cris)
     disas_config "CRIS"
   ;;
-  hppa)
-    disas_config "HPPA"
-  ;;
   i386|x86_64|x32)
     disas_config "I386"
   ;;
disas.c +0 -2
index 05a7a12..67f116a 100644
@@ -310,8 +310,6 @@ void disas(FILE *out, void *code, unsigned long size)
     print_insn = print_insn_m68k;
 #elif defined(__s390__)
     print_insn = print_insn_s390;
-#elif defined(__hppa__)
-    print_insn = print_insn_hppa;
 #elif defined(__ia64__)
     print_insn = print_insn_ia64;
 #endif
disas/Makefile.objs +0 -1
index abeba84..09bc992 100644
@@ -9,7 +9,6 @@ libvixldir = $(SRC_PATH)/disas/libvixl
 # versions do not.
 arm-a64.o-cflags := -I$(libvixldir) -Wno-sign-compare
 common-obj-$(CONFIG_CRIS_DIS) += cris.o
-common-obj-$(CONFIG_HPPA_DIS) += hppa.o
 common-obj-$(CONFIG_I386_DIS) += i386.o
 common-obj-$(CONFIG_IA64_DIS) += ia64.o
 common-obj-$(CONFIG_M68K_DIS) += m68k.o
disas/hppa.c deleted +0 -2832

2,832 lines not on this page · raw message

linux-user/syscall_defs.h +2 -2
index 7835654..c0c9b58 100644
@@ -2329,8 +2329,8 @@ struct target_flock {
 struct target_flock64 {
     short  l_type;
     short  l_whence;
-#if defined(TARGET_PPC) || defined(TARGET_X86_64) || defined(TARGET_MIPS) \
-    || defined(TARGET_SPARC) || defined(TARGET_HPPA) \
+#if defined(TARGET_PPC) || defined(TARGET_X86_64) \
+    || defined(TARGET_MIPS) || defined(TARGET_SPARC) \
     || defined(TARGET_MICROBLAZE) || defined(TARGET_TILEGX)
     int __pad;
 #endif
qemu-tech.texi +1 -2
index bdb2285..1b048cb 100644
@@ -89,8 +89,7 @@ QEMU generic features:
 
 @item
 Working on x86, x86_64 and PowerPC32/64 hosts. Being tested on ARM,
-HPPA, Sparc32 and Sparc64. Previous versions had some support for
-Alpha and S390 hosts, but TCG (see below) doesn't support those yet.
+S390x, Sparc32 and Sparc64.
 
 @item Self-modifying code support.
 
tcg/tci/README +1 -1
index 3786b09..386c3c7 100644
@@ -9,7 +9,7 @@ code fragments ("basic blocks") from target code (any of the
 targets supported by QEMU) to a code representation which
 can be run on a host.
 
-QEMU can create native code for some hosts (arm, hppa, i386, ia64, ppc, ppc64,
+QEMU can create native code for some hosts (arm, i386, ia64, ppc, ppc64,
 s390, sparc, x86_64). For others, unofficial host support was written.
 
 By adding a code generator for a virtual machine and using an
Signature · 1 line
1.8.3.1