From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23677 invoked by alias); 12 Apr 2010 14:30:54 -0000 Received: (qmail 23666 invoked by uid 22791); 12 Apr 2010 14:30:53 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from web30303.mail.mud.yahoo.com (HELO web30303.mail.mud.yahoo.com) (209.191.69.65) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Mon, 12 Apr 2010 14:30:46 +0000 Received: (qmail 33362 invoked by uid 60001); 12 Apr 2010 14:30:39 -0000 Message-ID: <713026.25030.qm@web30303.mail.mud.yahoo.com> Received: from [208.54.14.18] by web30303.mail.mud.yahoo.com via HTTP; Mon, 12 Apr 2010 07:30:39 PDT References: <693309.79274.qm@web30304.mail.mud.yahoo.com> Date: Mon, 12 Apr 2010 14:30:00 -0000 From: Ed H Subject: Re: "cbin" utility for generating linkable objects To: Andreas Schwab Cc: binutils@sourceware.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-04/txt/msg00140.txt.bz2 cbin skips the extra assembly step, can include arbitrary directory hierarchies as well as single files, and generates a list of the included resources by name as well as automatically generating symbols and prototypes for each included file. All of this could be done as a wrapper around a generated .s file (especially now that I know about the .incbin directive :-) but I still think it's nice to have another small example of how to use libbfd, especially since gas seems to be the only place that creates object files using libbfd (is that correct?) - Ed ----- Original Message ---- > From: Andreas Schwab > To: Ed H > Cc: binutils@sourceware.org > Sent: Mon, April 12, 2010 1:25:12 AM > Subject: Re: "cbin" utility for generating linkable objects > > Ed H < > href="mailto:eah1@yahoo.com">eah1@yahoo.com> writes: > Is there > any interest in adding this to the binutils suite? How is it different > from the .incbin directive in gas? Andreas. -- Andreas Schwab, > > href="mailto:schwab@redhat.com">schwab@redhat.com GPG Key fingerprint = > D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E "And now for > something completely different."