PATCH: Add x32 support to dynamic linker audit

Andreas Schwab schwab@linux-m68k.org
Thu Mar 22 17:53:00 GMT 2012


"Carlos O'Donell" <carlos@systemhalted.org> writes:

> 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?

The functions are actually using struct La_x86_64_regs.  The types are
not compatible.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-alpha mailing list