* smallprint.c (__rn): Regparmize.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2005-01-31  Christopher Faylor  <cgf@timesys.com> | ||||||
|  |  | ||||||
|  | 	* smallprint.c (__rn): Regparmize. | ||||||
|  |  | ||||||
| 2005-01-31  Christopher Faylor  <cgf@timesys.com> | 2005-01-31  Christopher Faylor  <cgf@timesys.com> | ||||||
|  |  | ||||||
| 	* smallprint.c (rnarg): New macro. | 	* smallprint.c (rnarg): New macro. | ||||||
|   | |||||||
| @@ -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 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) | #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 * | static char * | ||||||
| __rn (char *dst, int base, int dosign, long long val, int len, int pad, unsigned long long mask) | __rn (char *dst, int base, int dosign, long long val, int len, int pad, unsigned long long mask) | ||||||
| { | { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user