This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: binary to elf conversion


On Thursday 16 August 2007, Joel Sherrill wrote:
> Andreas Schwab wrote:
> > Joel Sherrill <joel.sherrill@oarcorp.com> writes:
> >> Produced by this command:
> >>
> >> powerpc-rtems4.8-objcopy -I binary -O elf32-powerpc tarfile
> >> o-optimize/tarfile.o
> >
> > You need to specify the binary architecture.
> >
> >   -B --binary-architecture <arch>  Set arch of output file, when input is
> > binary
>
> I don't know how it ever worked at all if I was missing that.
> It arch going to always be the canonical name of the target
> architecture?   I tried my powerpc and mips and it worked.
>
> Why doesn't it default to the default architecture binutils was
> built for?

i think a similar question was posed for default -EB/-EL selection and the 
answer was no one really cared enough to fix it ;)

i imagine if you posted a patch, there wouldnt really be objections to the 
behavior change ...
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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