PATCH: Add x32 support to dynamic linker audit
H.J. Lu
hjl.tools@gmail.com
Thu Mar 22 16:37:00 GMT 2012
On Thu, Mar 22, 2012 at 9:35 AM, Carlos O'Donell
<carlos@systemhalted.org> wrote:
> 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.
>
Does typedef work with "struct xxx"?
--
H.J.
More information about the Libc-alpha
mailing list