Properly demangle a global constructor symbol.
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 16 Nov 2010 17:58:26 +0000 (17:58 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 16 Nov 2010 17:58:26 +0000 (17:58 +0000)
commita0692e366ae31b249502c7c60d7091211f680c68
treeeaee4e41fd8b33deff1a75245c1bc4725320cbab
parent97924a976b7d6e1669cf22c5fdf292a53bae6bd0
Properly demangle a global constructor symbol.

2010-11-16  H.J. Lu  <hongjiu.lu@intel.com>

PR other/42670
PR binutils/11137
* cp-demangle.c (d_make_demangle_mangled_name): New.
(d_demangle_callback): Use it on DCT_GLOBAL_XTORS.

* testsuite/demangle-expected: Updated.
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected