Commit 7be2640d by Richard Kenner

(asm_fprintf): Add cases for 'w' and 'l'.

From-SVN: r5653
parent 19d76e60
......@@ -2675,6 +2675,27 @@ asm_fprintf (va_alist)
fprintf (file, buf, va_arg (argptr, int));
break;
case 'w':
/* This is a prefix to the 'd', 'i', 'u', 'x', 'p', and 'X' cases,
but we do not check for those cases. It means that the value
is a HOST_WIDE_INT, which may be either `int' or `long'. */
#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT
*q++ = 'l';
#endif
*q++ = *p++;
*q = 0;
fprintf (file, buf, va_arg (argptr, HOST_WIDE_INT));
break;
case 'l':
*q++ = c;
*q++ = *p++;
*q = 0;
fprintf (file, buf, va_arg (argptr, long));
break;
case 'e':
case 'f':
case 'g':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment