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, andadd sparc sotruss support.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 9 Mar 2012 22:00:46 -0800 (PST)
- Subject: Re: [PATCH] Fix bugs in sparc PLT profiling register management, andadd sparc sotruss support.
- References: <20120309.235339.788096519458513308.davem@davemloft.net>
> 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.
Thanks,
Roland