[RFC] objcopy/objdump targets list

Nick Clifton nickc@redhat.com
Mon Mar 17 11:30:00 GMT 2003
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



More information about the Binutils mailing list