diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2012-04-17 11:05:04 -0700 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2012-04-18 15:02:40 +0000 |
commit | 085e42886052190d3e515ca865546b527f59cdd1 (patch) | |
tree | f09fae3b106d16477db384dccf3b0e430e7dd52e /Makefile.am | |
parent | 2bb4581ee501f6803df258ebb74c63a18a48422b (diff) | |
download | strace-085e42886052190d3e515ca865546b527f59cdd1.tar.gz |
x32: add ia32 support
* Makefile.am (EXTRA_DIST): Add linux/x32/errnoent1.h,
linux/x32/ioctlent1.h, linux/x32/signalent1.h and
linux/x32/syscallent1.h.
* configure.ac: Remove AC_GNU_SOURCE, obsoleted by
AC_USE_SYSTEM_EXTENSIONS.
* defs.h (SUPPORTED_PERSONALITIES): Set to 2 for X32.
(PERSONALITY1_WORDSIZE): Set to 4 for X32.
* file.c (stat64): New struct for X32.
(sys_lseek32): New function for X32.
(stat64): Undef.
(sys_fstat64): Likewise.
(sys_stat64): Likewise.
(realprintstat64): New function for X32.
(sys_fstat64): Likewise.
(sys_stat64): Likewise.
* mem.c (sys_old_mmap): New function for X32.
* pathtrace.c (pathtrace_match): Also check sys_old_mmap for X32.
* syscall.c (update_personality): Add X32 support.
(get_scno): Support currpers == 1 for X32.
* linux/syscall.h (sys_lseek32): New function prototype for X32.
* linux/x32/errnoent1.h: New file.
* linux/x32/ioctlent1.h: Likewise.
* linux/x32/signalent1.h: Likewise.
* linux/x32/syscallent1.h: Likewise.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 7398b7939..e9393d8f7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -80,6 +80,8 @@ EXTRA_DIST = $(man_MANS) errnoent.sh signalent.sh syscallent.sh ioctlsort.c \ linux/tile/ioctlent.h.in linux/tile/syscallent.h \ linux/x32/errnoent.h linux/x32/ioctlent.h.in \ linux/x32/signalent.h linux/x32/syscallent.h \ + linux/x32/errnoent1.h linux/x32/ioctlent1.h \ + linux/x32/signalent1.h linux/x32/syscallent1.h \ linux/x86_64/ioctlent.h.in linux/x86_64/syscallent.h \ linux/x86_64/gentab.pl \ linux/x86_64/errnoent1.h linux/x86_64/ioctlent1.h \ |