[uClibc]Problem with header file: va_arg etc.

AVENARD,JEAN-YVES (HP-Australia,ex2) jean-yves_avenard at hp.com
Mon Feb 12 07:18:15 UTC 2001


Dear all.

While still working on my port of uClibc for a SH platform, I came to the
following problem.

In uClibc, the header file stdarg.h and so on define all the va_arg to be
passed on the stack.

However, on SH architecture, first arguments are passed using register. So
for the moment, every single function in uClibc using va_* macro are broken
(including the obvious printf)

Where could I find the correct headers to fix this ?

Thank you
Jean-Yves





More information about the uClibc mailing list