summaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@cygnus.com>1999-07-26 09:25:29 +0000
committerNick Clifton <nickc@gcc.gnu.org>1999-07-26 09:25:29 +0000
commitfe0503eabfee54a8bf163c7d732519d8a27dcfc4 (patch)
treeb7395c97a560b76f177f33a1a66b8a45d4f1100e /gcc/final.c
parenta7a64a77ef33be210374003a0b84dd8d60f75a49 (diff)
downloadgcc-fe0503eabfee54a8bf163c7d732519d8a27dcfc4.tar.gz
Implement new macro: ASM_FPRINTF_EXTENSIONS
From-SVN: r28263
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 0ed88a2cf6e..79a973e89a1 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -3826,6 +3826,20 @@ asm_fprintf VPROTO((FILE *file, const char *p, ...))
fputs (user_label_prefix, file);
break;
+#ifdef ASM_FPRINTF_EXTENSIONS
+ /* Upper case letters are reserved for general use by asm_fprintf
+ and so are not available to target specific code. In order to
+ prevent the ASM_FPRINTF_EXTENSIONS macro from using them then,
+ they are defined here. As they get turned into real extensions
+ to asm_fprintf they should be removed from this list. */
+ case 'A': case 'B': case 'C': case 'D': case 'E':
+ case 'F': case 'G': case 'H': case 'J': case 'K':
+ case 'M': case 'N': case 'P': case 'Q': case 'S':
+ case 'T': case 'V': case 'W': case 'Y': case 'Z':
+ break;
+
+ ASM_FPRINTF_EXTENSIONS (file, argptr, p)
+#endif
default:
abort ();
}