* config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.

From-SVN: r36820
This commit is contained in:
Hans-Peter Nilsson 2000-10-09 23:55:50 +00:00 committed by Hans-Peter Nilsson
parent 45d640d97d
commit c690f089da
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2000-10-09 Hans-Peter Nilsson <hp@bitrange.com>
* config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.
2000-10-09 Richard Henderson <rth@cygnus.com>
* Makefile.in (LANG_LIB2FUNCS): Remove.

View file

@ -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); \