This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Objcopy and binary files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]