diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e4cd906b7cd..5d06fdea127 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-07-25 Andrew MacLeod + + * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well. + 2001-07-25 Jan Hubicka Richard Henderson diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index 5087223669d..bfcfaaa88ca 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. */