From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9116 invoked by alias); 2 Dec 2010 00:17:15 -0000 Received: (qmail 9102 invoked by uid 22791); 2 Dec 2010 00:17:14 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_BJ X-Spam-Check-By: sourceware.org Received: from mail-iw0-f193.google.com (HELO mail-iw0-f193.google.com) (209.85.214.193) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Dec 2010 00:17:09 +0000 Received: by iwn6 with SMTP id 6so1541070iwn.0 for ; Wed, 01 Dec 2010 16:17:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.169.2 with SMTP id z2mr2740364icy.296.1291249027657; Wed, 01 Dec 2010 16:17:07 -0800 (PST) Received: by 10.42.176.10 with HTTP; Wed, 1 Dec 2010 16:17:07 -0800 (PST) In-Reply-To: References: <201012011701.28717.vapier@gentoo.org> Date: Thu, 02 Dec 2010 00:17:00 -0000 Message-ID: Subject: Re: Using binutils with all target enabled From: Arnaud Lacombe To: "Joseph S. Myers" Cc: Mike Frysinger , binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 2010-12/txt/msg00046.txt.bz2 Hi, On Wed, Dec 1, 2010 at 7:10 PM, Joseph S. Myers w= rote: > On Wed, 1 Dec 2010, Mike Frysinger wrote: > >> On Wednesday, December 01, 2010 14:27:10 Arnaud Lacombe wrote: >> > I'd have hoped that specifying the the format explicits would have >> > been possible, but very few program seems to support such options. >> > Actually, only objdump (maybe others) accepts a '-b' flags. >> >> ld has -m, objcopy/strip have -F/-O/-I, readelf doesnt care, addr2line/n= m/size >> have --target. =A0seems like just as, ar, and ranlib are missing command= line >> flags, and --target might be the logical flag to add to them. > > I don't think as has any useful multi-target support; the code is full of > uses of macros defined in target-specific headers. > I was talking about ar/ranlib here, not `as'. I'm fine with having a target specific `as'. - Arnaud