patches/strace/4.5.19/150-undef-syscall.patch
author "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Mon Apr 16 15:25:36 2012 +0200 (2012-04-16)
changeset 2941 13e40098fffc
permissions -rw-r--r--
cc/gcc: update Linaro GCC revisions to 2012.04

Update Linaro GCC with the latest available revisions.

The 4.7 revision is also released, but the infrastructure is not yet ready for
it in CT-NG.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
     1 diff -durN strace-4.5.19.orig/linux/syscallent.h strace-4.5.19/linux/syscallent.h
     2 --- strace-4.5.19.orig/linux/syscallent.h	2009-09-01 21:53:29.000000000 +0200
     3 +++ strace-4.5.19/linux/syscallent.h	2009-10-28 18:47:18.000000000 +0100
     4 @@ -130,7 +130,11 @@
     5  	{ 2,	TF,	sys_statfs,		"statfs"	}, /* 99 */
     6  	{ 2,	TD,	sys_fstatfs,		"fstatfs"	}, /* 100 */
     7  	{ 3,	0,	sys_ioperm,		"ioperm"	}, /* 101 */
     8 -	{ 2,	TD,	sys_socketcall,		"socketcall", SYS_socketcall }, /* 102 */
     9 +	{ 2,	TD,	sys_socketcall,		"socketcall"
    10 +#ifdef __NR_socketcall
    11 +	    , SYS_socketcall
    12 +#endif
    13 +								}, /* 102 */
    14  	{ 3,	0,	sys_syslog,		"syslog"	}, /* 103 */
    15  	{ 3,	0,	sys_setitimer,		"setitimer"	}, /* 104 */
    16  	{ 2,	0,	sys_getitimer,		"getitimer"	}, /* 105 */
    17 @@ -145,7 +149,11 @@
    18  	{ 4,	TP,	sys_wait4,		"wait4", SYS_wait4 }, /* 114 */
    19  	{ 1,	0,	sys_swapoff,		"swapoff"	}, /* 115 */
    20  	{ 1,	0,	sys_sysinfo,		"sysinfo"	}, /* 116 */
    21 -	{ 6,	0,	sys_ipc,		"ipc", SYS_ipc }, /* 117 */
    22 +	{ 6,	0,	sys_ipc,		"ipc"
    23 +#ifdef __NR_ipc
    24 +	    , SYS_ipc
    25 +#endif
    26 +								}, /* 117 */
    27  	{ 1,	TD,	sys_fsync,		"fsync"		}, /* 118 */
    28  	{ 1,	TS,	sys_sigreturn,		"sigreturn"	}, /* 119 */
    29  	{ 5,	TP,	sys_clone,		"clone", SYS_clone }, /* 120 */
    30 @@ -282,7 +290,11 @@
    31  	{ 3,	0,	sys_io_cancel,		"io_cancel"	}, /* 249 */
    32  	{ 5,	0,	sys_fadvise64,		"fadvise64"	}, /* 250 */
    33  	{ 5,	0,	printargs,		"SYS_251"	}, /* 251 */
    34 -	{ 1,	TP,	sys_exit,		"exit_group", __NR_exit_group }, /* 252 */
    35 +	{ 1,	TP,	sys_exit,		"exit_group"
    36 +#ifdef __NR_exit_group
    37 +	    , __NR_exit_group
    38 +#endif
    39 +								}, /* 252 */
    40  	{ 4,	0,	printargs,		"lookup_dcookie"}, /* 253 */
    41  	{ 1,	0,	sys_epoll_create,	"epoll_create"	}, /* 254 */
    42  	{ 4,	TD,	sys_epoll_ctl,		"epoll_ctl"	}, /* 255 */