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: PATCH: Add x32 support to dynamic linker audit


"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."


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