"cbin" utility for generating linkable objects

Ed H eah1@yahoo.com
Mon Apr 12 14:30:00 GMT 2010


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 <schwab@redhat.com>
> To: Ed H <eah1@yahoo.com>
> 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."


      



More information about the Binutils mailing list