On Thu, Apr 12, 2007 at 06:23:21PM +0200, Kai Tietz wrote: > "H. J. Lu" <hjl@lucon.org> wrote on 12.04.2007 17:55:25: > > > Can you try to use existing data type I/O routines in bfd? > > You mean the endian swapping ? > Yes. Also you should use unsigned char characteristics [4]; instead of unsigned long characteristics; or unsigned int characteristics; H.J.