From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10215 invoked by alias); 2 May 2006 04:07:52 -0000 Received: (qmail 10205 invoked by uid 22791); 2 May 2006 04:07:50 -0000 X-Spam-Check-By: sourceware.org Received: from CPE-144-136-172-108.sa.bigpond.net.au (HELO grove.modra.org) (144.136.172.108) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 02 May 2006 04:07:49 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id 0B2FA1E22AA; Tue, 2 May 2006 13:37:45 +0930 (CST) Date: Tue, 02 May 2006 04:07:00 -0000 From: Alan Modra To: Ben Elliston Cc: binutils@sourceware.org Subject: Re: PATCH: use unsigned int :1 bitfield Message-ID: <20060502040745.GH11597@bubble.grove.modra.org> Mail-Followup-To: Ben Elliston , binutils@sourceware.org References: <20060502034447.GA2645@ozlabs.au.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060502034447.GA2645@ozlabs.au.ibm.com> User-Agent: Mutt/1.4i X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00022.txt.bz2 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