* smallprint.c (__rn): Regparmize.

This commit is contained in:
Christopher Faylor 2005-01-31 19:57:05 +00:00
parent 01d13d44fb
commit 2b4d82482c
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-01-31 Christopher Faylor <cgf@timesys.com>
* smallprint.c (__rn): Regparmize.
2005-01-31 Christopher Faylor <cgf@timesys.com>
* smallprint.c (rnarg): New macro.

View File

@ -24,6 +24,10 @@ int __small_vsprintf (char *dst, const char *fmt, va_list ap);
#define rnarg(dst, base, dosign, len, pad) __rn ((dst), (base), (dosign), va_arg (ap, unsigned), len, pad, LMASK)
#define rnargLL(dst, base, dosign, len, pad) __rn ((dst), (base), (dosign), va_arg (ap, unsigned long long), len, pad, LLMASK)
static char * __rn (char *, int, int, long long, int, int,
unsigned long long) __attribute__ ((regparm (3)));
static char *
__rn (char *dst, int base, int dosign, long long val, int len, int pad, unsigned long long mask)
{