This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFC] objcopy/objdump targets list
- From: Nick Clifton <nickc at redhat dot com>
- To: Elias Athanasopoulos <elathan at phys dot uoa dot gr>
- Cc: binutils at sources dot redhat dot com
- Date: 17 Mar 2003 11:30:33 +0000
- Subject: Re: [RFC] objcopy/objdump targets list
- References: <20030314192157.S1234@neutrino.particles.org>
Hi Elias,
> objdump has a very nice and handy -i option to list all the
> supported targets. I propose to move this code
> (display_targets_table, etc) in bucomm.c and make objcopy use it,
> too.
This would be OK. It might also be an idea to tidy up the formatting
slightly, so that for example, there is only one line displayed per
target, and the list of architecture variants is labelled as such.
> In bucomm.c there is already code to dump the supported targets, but
> it is not so handy. If my proposal is approved we can kill this code
> or leave it as a "not so verbose target listing" for
> objdump/objcopy.
I believe that we should leave this code in, and leave it attached to
the --help switch.
Cheers
Nick