From: Michael Meissner Date: Wed, 24 May 1995 18:41:08 +0000 (+0000) Subject: Strip leading * from names. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=386d34d83bcffda0d15f50d69854999ced764571;p=gcc.git Strip leading * from names. From-SVN: r9799 --- diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index ae087ea40e6..a45dad4000a 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -1990,7 +1990,9 @@ toc_section () \ #define STRIP_NAME_ENCODING(VAR,NAME) \ do \ { \ - if ((NAME)[0] == '*' || (NAME)[strlen (NAME) - 1] != ']') \ + if ((NAME)[0] == '*') \ + (VAR) = (NAME)+1; \ + else if ((NAME)[strlen (NAME) - 1] != ']') \ (VAR) = (NAME); \ else \ { \