gas/config/tc-alpha.c
Andrew Cagney
ac131313@cygnus.com
Mon May 15 20:09:00 GMT 2000
Michael Meissner wrote:
> > I guess it doesn't matter a great deal as binutils is riddled with this
> > sort of assumption about sizes of integral types. I did have some idea of
> > attacking the problem, but it seems a whole lot of work for little
> > immediate benefit.
>
> Or include limits.h (presumably also checking if limits.h exists via autoconf),
> and base the #if on whether you have 8 bit bytes and 16 bit longs, which would
> be the portable way of doing it.
Why not go all the way and have bfd provide bfd_int8, bfd_int16, et.al.
That way:
((bfd_signed_vma) (bfd_int16) val)
would work optimally.
Andrew
More information about the Binutils
mailing list