strace-arm-eabi-fix.patch 815 B

123456789101112131415161718192021222324252627
  1. From f5da8d0c38ea0eb660cb17de7aa62cda6899eb75 Mon Sep 17 00:00:00 2001
  2. From: ldv <ldv>
  3. Date: Thu, 1 Jan 2009 23:20:38 +0000
  4. Subject: [PATCH] 2008-11-13 Kirill A. Shutemov <kirill@shutemov.name>
  5. * linux/arm/syscallent.h: Fix build on ARM EABI which does not
  6. provide syscalls socketcall and ipc.
  7. diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h
  8. index 5ccef2f..edc3641 100644
  9. --- a/linux/arm/syscallent.h
  10. +++ b/linux/arm/syscallent.h
  11. @@ -431,6 +431,7 @@
  12. { 5, 0, printargs, "SYS_398" }, /* 398 */
  13. { 5, 0, printargs, "SYS_399" }, /* 399 */
  14. +#ifndef __ARM_EABI__
  15. #if SYS_socket_subcall != 400
  16. #error fix me
  17. #endif
  18. @@ -481,3 +482,4 @@
  19. { 4, TI, sys_shmdt, "shmdt" }, /* 440 */
  20. { 4, TI, sys_shmget, "shmget" }, /* 441 */
  21. { 4, TI, sys_shmctl, "shmctl" }, /* 442 */
  22. +#endif
  23. --
  24. 1.6.1.3