[PATCH] IBM C compiler patch for bfd/elf-bfd.h
Alan Modra
amodra@bigpond.net.au
Sun Jun 6 00:51:00 GMT 2004
On Thu, Jun 03, 2004 at 01:16:25PM -0500, Albert Chin wrote:
> 2004-06-02 Albert Chin-A-Young <china@thewrittenword.com>
>
> * bfd/elf-bfd.h: Convert unsigned char bit types to
> unsigned int to satisfy IBM C compiler.
This is OK to apply, if someone would like to do so. Please leave off
the reference to the IBM C compiler in the changelog though. We're not
avoiding a bug in the IBM compiler but instead avoiding use of a gcc
extension.
> --- bfd/elf-bfd.h.orig 2004-05-27 00:31:45.546121000 -0500
> +++ bfd/elf-bfd.h 2004-05-27 00:31:54.296250000 -0500
> @@ -278,11 +278,11 @@
> unsigned char fde_encoding;
> unsigned char lsda_encoding;
> unsigned char lsda_offset;
> - unsigned char cie : 1;
> - unsigned char removed : 1;
> - unsigned char make_relative : 1;
> - unsigned char make_lsda_relative : 1;
> - unsigned char per_encoding_relative : 1;
> + unsigned int cie : 1;
> + unsigned int removed : 1;
> + unsigned int make_relative : 1;
> + unsigned int make_lsda_relative : 1;
> + unsigned int per_encoding_relative : 1;
> };
>
> struct eh_frame_sec_info
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list