This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Add __pointer_guard_t for pointer_guard


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

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]