diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-11-16 17:56:50 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2010-11-16 09:56:50 -0800 |
commit | 431f321fbdb350136ca5788cdab4e7e3f5f32abe (patch) | |
tree | 9d3533fc1dff04194be510a494ce250339df5c37 /libiberty/testsuite | |
parent | b9b9d34254d1111aa6c8bf0bc48ca68d5ca92c24 (diff) | |
download | gcc-431f321fbdb350136ca5788cdab4e7e3f5f32abe.zip gcc-431f321fbdb350136ca5788cdab4e7e3f5f32abe.tar.gz gcc-431f321fbdb350136ca5788cdab4e7e3f5f32abe.tar.bz2 |
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.
From-SVN: r166810
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r-- | libiberty/testsuite/demangle-expected | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected index 5b15445..5ce0377 100644 --- a/libiberty/testsuite/demangle-expected +++ b/libiberty/testsuite/demangle-expected @@ -3610,8 +3610,8 @@ std::_Alloc_traits<std::basic_string<char, std::string_char_traits<char>, libcw: # --format=gnu-v3 --no-params _GLOBAL__I__Z2fnv -global constructors keyed to _Z2fnv -global constructors keyed to _Z2fnv +global constructors keyed to fn() +global constructors keyed to fn() # --format=gnu-v3 --no-params _Z1rM1GFivEMS_KFivES_M1HFivES1_4whatIKS_E5what2IS8_ES3_ |