[PATCH] Fix bugs in sparc PLT profiling register management, and add sparc sotruss support.

David Miller davem@davemloft.net
Sun Mar 11 22:54:00 GMT 2012


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.



More information about the Libc-alpha mailing list