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: use unsigned int :1 bitfield


On Tue, May 02, 2006 at 01:44:47PM +1000, Ben Elliston wrote:
> Another patch hanging around in my checkout.  It's best to qualify one
> bit wide bitfields as unsigned.  I believe the C standard leaves the
> exact range of values for a signed :1 field up to the
> implementation--am I right?

Yes, according to my copy.

> 	* config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Make single bit
> 	field unsigned.

OK.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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