From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31285 invoked by alias); 16 Aug 2007 18:04:41 -0000 Received: (qmail 31035 invoked by uid 22791); 16 Aug 2007 18:04:37 -0000 X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 16 Aug 2007 18:04:29 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id B5B7F65AE3; Thu, 16 Aug 2007 18:04:26 +0000 (UTC) From: Mike Frysinger To: binutils@sourceware.org Subject: Re: binary to elf conversion Date: Thu, 16 Aug 2007 18:04:00 -0000 User-Agent: KMail/1.9.7 Cc: Joel Sherrill , Andreas Schwab , Ralf Corsepius References: <46C46561.30105@oarcorp.com> <46C48BAB.7030406@oarcorp.com> In-Reply-To: <46C48BAB.7030406@oarcorp.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart395772293.iV7gp4IffV"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200708161405.08914.vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00254.txt.bz2 --nextPart395772293.iV7gp4IffV Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-length: 911 On Thursday 16 August 2007, Joel Sherrill wrote: > Andreas Schwab wrote: > > Joel Sherrill 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 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= =20 answer was no one really cared enough to fix it ;) i imagine if you posted a patch, there wouldnt really be objections to the= =20 behavior change ... -mike --nextPart395772293.iV7gp4IffV Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 827 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.5 (GNU/Linux) iQIVAwUARsSR1EFjO5/oN/WBAQIFaQ//W6konecl4nLWl34jONfdCsrrwwkHXuCo nDHKM7ld1Iy1iucuIbyAYB3mLPrvTFmEDismylBCX8W+u9zOvmUq8W83RNKOmxpQ bsfeXrVsKLAF4ZgVv5WIVhNaJTVIQdSKaiZDVuwfc6TZMDUHIbkHweJlUp8UNxKC bNq/S8ef2XFqZelMa/DU3YN3oc+pOhWia/tlu3wUkXZ3qsYnE1b5fVLIzIF7H3NL TTD9LHZv2zjDfxJ1Up5xEjbFq+wsBiP9DcvzwZwj1RguL8zpn45r9NroCL4f2Bot +S3pV+PS+Amyd8kL9G9nEu/bBQGR/SoU1bjZ+1eWBN0rdUnwD3RbORMpwKp7VTnn tKsC7Y071J0//24DP2vKGTxv1wnByVykCEGSce+iEA0d/XmZF3JYWEDP5Jh7eGCC Fu4ARi1oLjYfiINrukhyfTAmd7JpxZkB7CLy3akkuAK//2JK/UF9QzO1Yt5Syvsc qMu670oEcaoxQC+lOdZ8LME0OZxV9xo3J3/jD+civBdj1i7GSBIWK4r+aW8W4JcE aFEB/1qBQBVQ3cklgZPcAPwrLN8M/gU2gA9xenHdXr4k6WNOB3GzmgYYSmz95Lyz 9fmnvh0CPnRYi9j1hlF4Q49wXpcaIsnpiawzULJvm3UCA3PtwK/NcRb0OCVnqBYg K96H22YicfQ= =UhZl -----END PGP SIGNATURE----- --nextPart395772293.iV7gp4IffV--