diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 010c412742f..503d66b1bc9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-10-09 Hans-Peter Nilsson + + * config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name. + 2000-10-09 Richard Henderson * Makefile.in (LANG_LIB2FUNCS): Remove. diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h index 8be87a8f66b..3a2f2925423 100644 --- a/gcc/config/elfos.h +++ b/gcc/config/elfos.h @@ -372,6 +372,8 @@ dtors_section () \ sec = 2; \ \ name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (DECL)); \ + /* Strip off any encoding in name. */ \ + STRIP_NAME_ENCODING (name, name); \ prefix = prefixes[sec][DECL_ONE_ONLY(DECL)]; \ len = strlen (name) + strlen (prefix); \ string = alloca (len + 1); \