--- Begin Message ---
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Sun, 6 Jun 2004 10:21:09 +0930
- Subject: Re: [PATCH] IBM C compiler patch for bfd/elf-bfd.h
- Delivery-date: Sat, 05 Jun 2004 20:51:36 -0400
- Envelope-to: cagney@gnu.org
- References: <20040603181625.GP31525@mail1.thewrittenword.com>
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
--- End Message ---