[PATCH 1/3] linux/arm/syscallent.h: Fix build on ARM EABI

Dmitry V. Levin ldv at altlinux.org
Thu Dec 4 02:05:05 UTC 2008


2008-11-13  Kirill A. Shutemov  <kas at altlinux.org>

	* linux/arm/syscallent.h: Fix build on ARM EABI which does not
	provide syscalls socketcall and ipc.

--- linux/arm/syscallent.h
+++ linux/arm/syscallent.h
@@ -431,6 +431,7 @@
 	{ 5,	0,	printargs,		"SYS_398"	}, /* 398 */
 	{ 5,	0,	printargs,		"SYS_399"	}, /* 399 */
 
+#ifndef __ARM_EABI__
 #if SYS_socket_subcall != 400
  #error fix me
 #endif
@@ -481,3 +482,4 @@
 	{ 4,	TI,	sys_shmdt,		"shmdt"		}, /* 440 */
 	{ 4,	TI,	sys_shmget,		"shmget"	}, /* 441 */
 	{ 4,	TI,	sys_shmctl,		"shmctl"	}, /* 442 */
+#endif


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20081204/69d9dd2b/attachment.bin>


More information about the Strace-devel mailing list