This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: [PATCH]Add --style switch to binutils
- To: Ken Block <block at zk3 dot dec dot com>
- Subject: Re: [PATCH]Add --style switch to binutils
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Tue, 20 Jun 2000 13:15:55 -0700
- Cc: binutils at sourceware dot cygnus dot com
- References: <394FCD46.D7DAEE4@zk3.dec.com>
On Tue, Jun 20, 2000 at 04:00:06PM -0400, Ken Block wrote:
> The --style switch allows tools to select which demangler is used. For
> example --style=gnu-new-abi will use the new ABI demangler. The current
> supported styles are: auto,gnu,lucid,arm,hp,edg,gnu-new-abi. All tools
> that support demangling should support this switch. This includes: nm,
> objdump, addr2line, ld, and gprof.
>
>
My version does it differently. I put all the code in libiberty instead
of duplicating it everywhere. Also --help gives something like:
...
[--style={auto,gnu,lucid,arm,hp,edg,gnu-new-abi,gnat,compaq}]
The "{auto,gnu,lucid,arm,hp,edg,gnu-new-abi,gnat,compaq}" string also
comes from libiberty.
H.J.