PATCH: Add x32 support to dynamic linker audit

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


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

> On Wed, Mar 21, 2012 at 11:23 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> Will
>>
>> #define La_x32_regs La_x86_64_regs
>> #define  La_x32_retval  La_x86_64_retval
>>
>> work for you?
>
> Yes, as long as the names are consistent with the function being
> called e.g. La_x32_regs is used with la_gnu_x32_pltenter and
> la_gnu_x32_pltexit.

That doesn't work.

../sysdeps/generic/ldsodefs.h:231:9: warning: ‘struct La_x32_regs’ declared inside parameter list [enabled by default]
../sysdeps/generic/ldsodefs.h:231:9: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
../sysdeps/generic/ldsodefs.h:280:10: warning: ‘struct La_x32_regs’ declared inside parameter list [enabled by default]

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