(STRIP_NAME_ENCODING): New definition.
authorRichard Stallman <rms@gnu.org>
Fri, 23 Oct 1992 10:20:59 +0000 (10:20 +0000)
committerRichard Stallman <rms@gnu.org>
Fri, 23 Oct 1992 10:20:59 +0000 (10:20 +0000)
From-SVN: r2571

gcc/config/pa/pa.h

index 181eb87..0928edb 100644 (file)
@@ -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.  */