Commit 90df2829 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

fixes for superh

parent 8f4e2f6c
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
--- strace/process.c
+++ strace/process.c
@@ -2663,7 +2663,6 @@ const struct xlat struct_user_offsets[] 
        { 4*REG_GBR,            "4*REG_GBR"                             },
        { 4*REG_MACH,           "4*REG_MACH"                            },
        { 4*REG_MACL,           "4*REG_MACL"                            },
-       { 4*REG_SYSCALL,        "4*REG_SYSCALL"                         },
        { 4*REG_FPUL,           "4*REG_FPUL"                            },
        { 4*REG_FPREG0,         "4*REG_FPREG0"                          },
        { 4*(REG_FPREG0+1),     "4*REG_FPREG1"                          },
+28 −0
Original line number Diff line number Diff line
--- strace/configure
+++ strace/configure
@@ -1993,19 +1993,19 @@
 _ACEOF
 
 	;;
-sh)
-	arch=sh
+sh64)
+	arch=sh64
 
 cat >>confdefs.h <<\_ACEOF
-#define SH 1
+#define SH64 1
 _ACEOF
 
 	;;
-sh64)
-	arch=sh64
+sh*)
+	arch=sh
 
 cat >>confdefs.h <<\_ACEOF
-#define SH64 1
+#define SH 1
 _ACEOF
 
 	;;