RFC: Add __pointer_guard_t for pointer_guard
Mike Frysinger
vapier@gentoo.org
Fri May 18 01:23:00 GMT 2012
On Thursday 17 May 2012 21:15:09 H.J. Lu wrote:
> on x32, PTR_DEMANGLE/PTR_MANGLE are used on 64-bit registers, which
> requires the pointer_guard field in tcbhead_t to be 64-bit. But
> uintptr_t is 32-bit on x32. This patch adds __pointer_guard_t for
> pointer_guard and reorders tcbhead_t for x32. By pure luck, stack_guard
> and __private_tm offsets used by GCC stay the same. Any comments?
it's not possible to fix the asm code to work on 32bit values on x32 systems ?
it kind of sucks we have to add a new type which is uintptr_t for most
targets.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120518/f62f7024/attachment.sig>
More information about the Libc-alpha
mailing list