diff options
Diffstat (limited to 'gcc/output.h')
-rw-r--r-- | gcc/output.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/output.h b/gcc/output.h index e1cf6d82950..85310850737 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -505,3 +505,11 @@ extern FILE *rtl_dump_file; /* User label prefix in effect for this compilation. */ extern const char *user_label_prefix; + +/* This macro gets just the user-specified name + out of the string in a SYMBOL_REF. On most machines, + we discard the * if any and that's all. */ +#ifndef STRIP_NAME_ENCODING +#define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \ + (VAR) = ((SYMBOL_NAME) + ((SYMBOL_NAME)[0] == '*')) +#endif |