OSDN Git Service

Properly demangle a global constructor symbol.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Nov 2010 17:56:50 +0000 (17:56 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Nov 2010 17:56:50 +0000 (17:56 +0000)
commit6400c038e5357d0f781fc0b602282f8e14dbb131
tree9d3533fc1dff04194be510a494ce250339df5c37
parent1fea6e9c7233dd498c318e24eda247ba8c931519
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166810 138bc75d-0d04-0410-961f-82ee72b054a4
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected