This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[Patch] Re: Cygwin binutils packaging error? [was RE: C++filt grief.]
- From: Danny Smith <dannysmith at clear dot net dot nz>
- To: Dave Korn <dk at artimi dot com>, 'Alan Modra' <amodra at bigpond dot net dot au>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 20 Oct 2004 09:09:41 +1300
- Subject: [Patch] Re: Cygwin binutils packaging error? [was RE: C++filt grief.]
- References: <NUTMEG3TGJ2TUSzbAUf0000004a@NUTMEG.CAM.ARTIMI.COM>
- Reply-to: Danny Smith <dannysmith at users dot sourceforge dot net>
Dave Korn wrote:
>> -----Original Message-----
>> From: binutils-owner On Behalf Of Alan Modra
>> Sent: 19 October 2004 02:33
>> To: Dave Korn
>> Cc: binutils
>> Subject: Re: C++filt grief.
>>
>> On Mon, Oct 18, 2004 at 04:05:59PM +0100, Dave Korn wrote:
>>> Although come to think of it, shouldn't c++filt be a bit
>> smarter about
>>> this situation? If you compile something with gcc and dump
>> the symbols with
>>> nm, shouldn't what you get be suitable for feeding into
>> c++filt without
>>> further processing?
>>
>> It is, if you use the right target c++filt.
>
This fixes:
2004-10-19 Danny Smith <dannysmith@users.sourceforge.net>
* config.bfd: Set targ_underscore=yes for PE COFF targets
Index: config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.172
diff -u -r1.172 config.bfd
--- config.bfd 15 Oct 2004 05:47:11 -0000 1.172
+++ config.bfd 19 Oct 2004 20:11:30 -0000
@@ -581,6 +581,7 @@
i[3-7]86-*-mingw32* | i[3-7]86-*-cygwin* | i[3-7]86-*-winnt |
i[3-7]86-*-pe)
targ_defvec=i386pe_vec
targ_selvecs="i386pe_vec i386pei_vec bfd_elf32_i386_vec"
+ targ_underscore=yes
;;
i[3-7]86-none-*)
targ_defvec=i386coff_vec