This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix bugs in sparc PLT profiling register management,and add sparc sotruss support.
From: Roland McGrath <roland@hack.frob.com>
Date: Fri, 9 Mar 2012 22:00:46 -0800 (PST)
>> Along the way I noticed that sotruss's plt exit handler was printing
>> the return value using the wrong format string. It was using "0x%lu"
>> instead of "0x%lx". So that's fixed here too.
>
> I always prefer %#lx instead. That prints 0 instead of 0x0, and just seems
> classier.
If you like I can change it to be this way, both for the PLT entry
register argument printing and the PLT exit return value.