aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-10-23 10:20:59 +0000
committerRichard Stallman <rms@gnu.org>1992-10-23 10:20:59 +0000
commite42b4c96267488cdce926300487d9f2582243690 (patch)
treeee5f1fa995a98b7499f183416158a83469c90513 /gcc
parentdc2b15dc4b0850f0164ec92a5ce72b0f42c8c9dd (diff)
downloadgcc-e42b4c96267488cdce926300487d9f2582243690.zip
gcc-e42b4c96267488cdce926300487d9f2582243690.tar.gz
gcc-e42b4c96267488cdce926300487d9f2582243690.tar.bz2
(STRIP_NAME_ENCODING): New definition.
From-SVN: r2571
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/pa/pa.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index 181eb87..0928edb 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -1291,6 +1291,12 @@ do \
} \
while (0)
+/* Store the user-specified part of SYMBOL_NAME in VAR.
+ This is sort of inverse to ENCODE_SECTION_INFO. */
+
+#define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \
+ (VAR) = ((SYMBOL_NAME) \
+ + ((SYMBOL_NAME)[0] == '*' || (SYMBOL_NAME)[0] == '@'))
/* Specify the machine mode that this machine uses
for the index in the tablejump instruction. */