This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Little endian target "binary_little"


On Fri, Apr 27, 2007 at 03:54:14PM +0200, Kai Tietz wrote:
> Alan Modra <amodra@bigpond.net.au> wrote on 27.04.2007 15:39:06:
> 
> > On Fri, Apr 27, 2007 at 10:39:37AM +0200, Kai Tietz wrote:
> > > I want to introduce an new internal default bfd target 
> "binary_little". 
> > 
> > I don't see the sense in this.  Where does the binary bfd backend use
> > its bfd_getx or bfd_putx functions?
> 
> I was quested by H.J, that the windres tool should use bfd I/O instead of 
> FILE I/O. Therefore it is necessary, that the binary format used for res 
> output - using bfd_put_16, etc. - has a little endian equivalent.

No.  Use bfd_putl16, bfd_putl32, bfd_putl64.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]