stellar2012wxg / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

add support for x32 ABI to linux_syscall_support.h #518

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
the upstream linux_syscall_support.h project has merged x32 ABI support.  i've 
ported that to the gperftools code.

you can find a diff here:
https://codereview.chromium.org/13648012

that applies cleanly to the latest source svn trunk

Original issue reported on code.google.com by vapier@chromium.org on 5 Apr 2013 at 3:25

GoogleCodeExporter commented 9 years ago
Thanks but looks like this is not enough. Particularly with this patch I get 
COMPILE_ASSERT SP_register_does_not_look_like_a_pointer at heap-checker.cc:1042

I.e. i386_regs are still not adapted to x32.

Original comment by alkondratenko on 12 May 2013 at 8:03

GoogleCodeExporter commented 9 years ago
On the other hand --enable-minimal now works (because even minimal 
configuration does direct futex syscall)

So I've just merged. Thanks.

Original comment by alkondratenko on 12 May 2013 at 7:15

GoogleCodeExporter commented 9 years ago
i don't quite understand what you mean by "i386_regs are not adapted to x32".  
i386_regs is for the 32bit x86 ABI, not x32.  you can only use x32 with x86_64 
targets.

Original comment by vapier@chromium.org on 12 May 2013 at 8:50