* config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.
From-SVN: r36820
This commit is contained in:
parent
45d640d97d
commit
c690f089da
2 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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); \
|
||||
|
|
Loading…
Add table
Reference in a new issue