collect2.c (dump_file): Don't call cplus_demangle if HAVE_LD_DEMANGLE is defined.
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 7 Jul 2004 20:29:13 +0000 (20:29 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 7 Jul 2004 20:29:13 +0000 (13:29 -0700)
commitd594623ade98699f505a959c91f8f58fc9828255
treee6dfd33f5e444278cf6eff5e3e80fc6d94ba1a92
parentf0517163a9b573e1e5858490d95787a48c8a4a10
collect2.c (dump_file): Don't call cplus_demangle if HAVE_LD_DEMANGLE is defined.

2004-07-07  H.J. Lu  <hongjiu.lu@intel.com>

* collect2.c (dump_file): Don't call cplus_demangle if
HAVE_LD_DEMANGLE is defined.
(main): Pass "--demangle" to ld if no_demangle is not 0 and
HAVE_LD_DEMANGLE is defined. Don't set current_demangling_style
if HAVE_LD_DEMANGLE is defined.

* configure.ac (--with-demangler-in-ld): Added
(HAVE_LD_DEMANGLE): Define if ld supports --demangle when
--with-demangler-in-ld is used.
* config.in: Regenerated.
* configure: Likewise.

From-SVN: r84227
gcc/ChangeLog
gcc/collect2.c
gcc/config.in
gcc/configure
gcc/configure.ac