summaryrefslogtreecommitdiffstats
path: root/package/strace/strace-undef-syscall.patch
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-23 10:26:23 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-23 10:26:23 +0000
commit0ad937e9151afd4415913fed4f1c14d15a2f46b2 (patch)
tree753386df503960500c25158bbf5a267e428634fd /package/strace/strace-undef-syscall.patch
parentf5d9ad3c7daef2609a14cd8ff8076173a372fd48 (diff)
downloadbuildroot-novena-0ad937e9151afd4415913fed4f1c14d15a2f46b2.tar.gz
buildroot-novena-0ad937e9151afd4415913fed4f1c14d15a2f46b2.zip
Add AVR32 support for strace
Diffstat (limited to 'package/strace/strace-undef-syscall.patch')
-rw-r--r--package/strace/strace-undef-syscall.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/strace/strace-undef-syscall.patch b/package/strace/strace-undef-syscall.patch
index ffb8acf79..b4291562f 100644
--- a/package/strace/strace-undef-syscall.patch
+++ b/package/strace/strace-undef-syscall.patch
@@ -44,7 +44,7 @@
@@ -2404,14 +2404,18 @@
switch (known_scno(tcp)) {
#ifdef LINUX
- #if !defined (ALPHA) && !defined(SPARC) && !defined(SPARC64) && !defined(MIPS) && !defined(HPPA)
+ #if !defined (ALPHA) && !defined(SPARC) && !defined(SPARC64) && !defined(MIPS) && !defined(HPPA) && !defined(AVR32)
+#ifdef __NR_socketcall
case SYS_socketcall:
decode_subcall(tcp, SYS_socket_subcall,
@@ -57,6 +57,6 @@
SYS_ipc_nsubcalls, shift_style);
break;
+#endif
- #endif /* !ALPHA && !MIPS && !SPARC && !SPARC64 && !HPPA */
+ #endif /* !ALPHA && !MIPS && !SPARC && !SPARC64 && !HPPA && !AVR32 */
#if defined (SPARC) || defined (SPARC64)
case SYS_socketcall: