summaryrefslogtreecommitdiffstats
path: root/package/strace
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-03 22:14:51 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-03 22:14:51 +0000
commit90df2829cb203c88fe70820a51a39488d8bbd235 (patch)
tree780c1b2ec1d5d9104610b0ca6c7fe3956cadf4a0 /package/strace
parent8f4e2f6c87391cb07d495504e133c83043aaab3c (diff)
downloadbuildroot-novena-90df2829cb203c88fe70820a51a39488d8bbd235.tar.gz
buildroot-novena-90df2829cb203c88fe70820a51a39488d8bbd235.zip
fixes for superh
Diffstat (limited to 'package/strace')
-rw-r--r--package/strace/strace-dont-use-REG_SYSCALL-for-sh.patch10
-rw-r--r--package/strace/strace-superh-update.patch28
2 files changed, 38 insertions, 0 deletions
diff --git a/package/strace/strace-dont-use-REG_SYSCALL-for-sh.patch b/package/strace/strace-dont-use-REG_SYSCALL-for-sh.patch
new file mode 100644
index 000000000..9030ecc36
--- /dev/null
+++ b/package/strace/strace-dont-use-REG_SYSCALL-for-sh.patch
@@ -0,0 +1,10 @@
+--- 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" },
diff --git a/package/strace/strace-superh-update.patch b/package/strace/strace-superh-update.patch
new file mode 100644
index 000000000..ff865a247
--- /dev/null
+++ b/package/strace/strace-superh-update.patch
@@ -0,0 +1,28 @@
+--- 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
+
+ ;;