]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
authorAndrew MacLeod <amacleod@redhat.com>
Wed, 25 Jul 2001 13:21:49 +0000 (13:21 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Wed, 25 Jul 2001 13:21:49 +0000 (13:21 +0000)
From-SVN: r44351

gcc/ChangeLog
gcc/config/ia64/ia64.h

index e4cd906b7cdfee1b8cdfbc360d1775f69c45c85c..5d06fdea127b0735cd9e0eb8d105ea0b8de3c138 100644 (file)
@@ -1,3 +1,7 @@
+2001-07-25  Andrew MacLeod  <amacleod@redhat.com>
+
+       * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
+
 2001-07-25  Jan Hubicka  <jh@suse.cz>
            Richard Henderson  <rth@redhat.com>
 
index 5087223669d1e82152f74e3d504f72f502da4e77..bfcfaaa88ca6dc9fa53e92a677aa6dae4dac6fc0 100644 (file)
@@ -1930,7 +1930,9 @@ do {                                                                      \
    that encode section info.  */
 
 #define STRIP_NAME_ENCODING(VAR, SYMBOL_NAME) \
-  (VAR) = (SYMBOL_NAME) + ((SYMBOL_NAME)[0] == SDATA_NAME_FLAG_CHAR)
+  (VAR) = ((SYMBOL_NAME)                        \
+          + (*(SYMBOL_NAME) == '*' || *(SYMBOL_NAME) == SDATA_NAME_FLAG_CHAR))
+
 
 \f
 /* Position Independent Code.  */