aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2001-07-25 13:21:49 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2001-07-25 13:21:49 +0000
commitff3daa889a35408d19790c6a5bd01fed99362c1d (patch)
treed2259c6a4b65938b66ad3b0766952a1155763d8e /gcc/config
parenta89dd0729b538e7c47760f1c003d9890560dc87f (diff)
downloadgcc-ff3daa889a35408d19790c6a5bd01fed99362c1d.zip
gcc-ff3daa889a35408d19790c6a5bd01fed99362c1d.tar.gz
gcc-ff3daa889a35408d19790c6a5bd01fed99362c1d.tar.bz2
* config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
From-SVN: r44351
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/ia64/ia64.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h
index 5087223..bfcfaaa 100644
--- a/gcc/config/ia64/ia64.h
+++ b/gcc/config/ia64/ia64.h
@@ -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))
+
/* Position Independent Code. */