This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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] IBM C compiler patch for bfd/elf-bfd.h


Daniel,
Can you also pull this into the GDB 6.1 branch?
Andrew
--- Begin Message ---
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 ---

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