PATCH: Add x32 support to strace

Denys Vlasenko dvlasenk at redhat.com
Mon Apr 16 11:08:49 UTC 2012


On 04/16/2012 04:09 AM, H.J. Lu wrote:
> On Sun, Apr 15, 2012 at 01:47:01PM -0700, H.J. Lu wrote:
>> Hi,
>>
>> X32:
>>
>> https://sites.google.com/site/x32abi/
>>
>> support is added to Linux kernel 3.4. In a nutshell, x32 is x86-64 with
>> 32bit pointers.  At system call level, x32 is also identical to x86-64,
>> as shown by many changes like "defined(X86_64) || defined(X32)".  The
>> main differerence bewteen x32 and x86-64 is off_t in x32 is long long
>> instead of long.
>>
>> This patch adds x32 support to strace.  Tested on Linux/x32.
>>
>> Thanks.
>>
>>
>
> This version of patch uses AC_TRY_COMPILE in configure.ac.

Applied with minor corrections. Please try current git.
-- 
vda





More information about the Strace-devel mailing list