[uClibc] printf behaviour

John Williams jwilliams at itee.uq.edu.au
Fri Aug 29 01:19:37 UTC 2003


Hi Manuel,

Manuel Novoa III wrote:

> On Thu, Aug 28, 2003 at 09:32:51PM +1000, John Williams wrote:
> 
>>Could it be the va_arg handling?  Some other things I've seen make me a 
>>bit suspicious of the microblaze gcc handing of implicit casts on 
>>function arguments (promotions).
> 
> Try the following.  It should help narrow down where the problem is.

here's the output - seems to confirm that varg handling is broken, would 
you agree?

main split 1234abcd 8765fedc 

msg="fmt string arg" 

varg split 0000001d 1234abcd 

_uintmaxtostr returned 1234abcd8765fedc

Regards,

John





More information about the uClibc mailing list