public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: binutils@sourceware.org
Cc: Joel Sherrill <joel.sherrill@oarcorp.com>,
	 Andreas Schwab <schwab@suse.de>,
	 Ralf Corsepius <ralf.corsepius@rtems.org>
Subject: Re: binary to elf conversion
Date: Thu, 16 Aug 2007 18:04:00 -0000	[thread overview]
Message-ID: <200708161405.08914.vapier@gentoo.org> (raw)
In-Reply-To: <46C48BAB.7030406@oarcorp.com>

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

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 #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

  reply	other threads:[~2007-08-16 18:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-16 14:55 Joel Sherrill
2007-08-16 16:20 ` Sergei Organov
2007-08-16 16:28 ` Andreas Schwab
2007-08-16 17:39   ` Joel Sherrill
2007-08-16 18:04     ` Mike Frysinger [this message]
2007-08-17 14:08       ` Maciej W. Rozycki
2007-08-19 17:10         ` Mike Frysinger
2007-08-20 19:54           ` Joel Sherrill
2007-08-22  1:29             ` Segher Boessenkool
2007-08-16 19:55 ` H.J. Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200708161405.08914.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=binutils@sourceware.org \
    --cc=joel.sherrill@oarcorp.com \
    --cc=ralf.corsepius@rtems.org \
    --cc=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).