Skip to content

Commit

Permalink
Revert "Remove remainders of HPPA backend"
Browse files Browse the repository at this point in the history
This reverts commit d41f3c3.

Signed-off-by: Richard Henderson <[email protected]>
  • Loading branch information
rth7680 committed Jan 23, 2017
1 parent d1c82f7 commit 429b31a
Show file tree
Hide file tree
Showing 5 changed files with 2,842 additions and 2 deletions.
5 changes: 5 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,8 @@ 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
Expand Down Expand Up @@ -6107,6 +6109,9 @@ for i in $ARCH $TARGET_BASE_ARCH ; do
cris)
disas_config "CRIS"
;;
hppa)
disas_config "HPPA"
;;
i386|x86_64|x32)
disas_config "I386"
;;
Expand Down
2 changes: 2 additions & 0 deletions disas.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ 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
Expand Down
1 change: 1 addition & 0 deletions disas/Makefile.objs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ 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
Expand Down
Loading

0 comments on commit 429b31a

Please sign in to comment.