This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Add x32 support to dynamic linker audit
On Thu, Mar 22, 2012 at 12:32 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Thu, Mar 22, 2012 at 9:26 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
>> "H.J. Lu" <hjl.tools@gmail.com> writes:
>>
>>> diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
>>> index d4cbaba..9955430 100644
>>> --- a/sysdeps/generic/ldsodefs.h
>>> +++ b/sysdeps/generic/ldsodefs.h
>>> @@ -187,6 +187,8 @@ struct La_i86_regs;
>>> ?struct La_i86_retval;
>>> ?struct La_x86_64_regs;
>>> ?struct La_x86_64_retval;
>>> +struct La_x32_regs;
>>> +struct La_x32_retval;
>>
>> That's wrong. ?These structs don't exist.
>>
>
> You can use them, which are just mapped to x86_64 ones.
What's the problem with them not existing? Debug information?
You could typedef the x32 ones instead of macro-izing it.
Cheers,
Carlos.