[PATCH]Add --style switch to binutils

H . J . Lu hjl@lucon.org
Tue Jun 20 13:15:00 GMT 2000


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.


More information about the Binutils mailing list