This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: don't sign-extend address in ihex files
On Wed, May 14, 2003 at 09:41:21AM -0700, Ian Lance Taylor wrote:
> Alan Modra <amodra@bigpond.net.au> writes:
>
> > On Tue, May 13, 2003 at 03:03:09PM -0500, Jim Blandy wrote:
> > > Since the value of the hex_value
> > > macro (defined in libiberty.h) is signed
> >
> > Except when char is unsigned, which is another argument in favour of
> > your patch.
>
> Well, since ANSI C is value preserving rather than unsignedness
Right. Ignore my silly comment.
--
Alan Modra
IBM OzLabs - Linux Technology Centre