summaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-26 09:25:29 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-26 09:25:29 +0000
commit31b6f0a89a57a4c124bd36bdb25accfa367ce6ee (patch)
treeb7395c97a560b76f177f33a1a66b8a45d4f1100e /gcc/final.c
parent8c18e70746f0a07134245df3fcacd0485c2708df (diff)
downloadgcc-31b6f0a89a57a4c124bd36bdb25accfa367ce6ee.tar.gz
Implement new macro: ASM_FPRINTF_EXTENSIONS
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28263 138bc75d-0d04-0410-961f-82ee72b054a4
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 ();
}