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


On Thu, Mar 22, 2012 at 9:40 AM, Carlos O'Donell
<carlos@systemhalted.org> wrote:
> On Thu, Mar 22, 2012 at 12:37 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>>>>>> --- 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"?
>
> I'd like to know what the problem is with these structures not existing?
>

I don't believe there is a real problem.

-- 
H.J.


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