Objcopy and binary files
Chris G. Demetriou
cgd@sibyte.com
Thu Mar 1 10:33:00 GMT 2001
mail@stefan-geuken.de (Stefan Geuken) writes:
> I called the new parameter --binary-architecture=arg respectively -B, where arg is the architecture for the output file (e.g. i386, powerpc, ...).
>
> Example:
>
> objcopy -I binary -O elf32-i386 -B i386 pic.bmp pic.bmp.o
> objdump -f pic.o
Is this capable of taking the same set of values that the objdump -m
flag is?
It might make sense to use -m, so that people who know about it in
objdump will have an easier time with it, but it doesn't matter
much...
It might also be best to call the long option '--output-architecture',
and make it generally settable, i.e. not just for binary files.
chris
More information about the Binutils
mailing list