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: windres


On Wed, Apr 11, 2007 at 07:33:31PM +0200, Kai Tietz wrote:
> Hello,
> 
> I have isolated the windres patch from the w64 one.
> 
> ChangeLog:
> 
> 2007-04-11 Kai Tietz  <kai.tietz@onevision.com>
> 
>         * binutils/resres.c: Cast sizeof explicit to type "long".
>         (res_hdr): Changed to use int instead of long.
>         (resres_host_bigendian, HOST_ISBIGENDIAN): Check for
>         big endian hosts.
>         (write_res_data_16, write_res_data_32, write_res_data_res_hdr,
>          read_res_data_16, read_res_data_32, read_res_data_res_hdr): New.
>         * binutils/resrc.c: Adjust printf formatter for ints.
>         * binutils/windres.c: (main): Assert if sizeof(int) not 4 bytes.
>         * binutils/windres.h: Changed windows structure to use
>         int type instead of long type.
> 

Can you try to use existing data type I/O routines in bfd?


H.J.


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