Re: aout_gnu.h _LITTLE confused ?

2011-01-20 Thread Peter Lawrence
Alan, thanks, yes I came to the same conclusion after a bit of find-grep, the file gas/config/aout_gnu.h should probably be deleted as it was probably left there by accident when include/aout/aout64.h was created. -Peter. On Jan 20, 2011, at 5:23 PM, Alan Modra wrote: On Thu, Jan

Re: aout_gnu.h _LITTLE confused ?

2011-01-20 Thread Alan Modra
On Thu, Jan 20, 2011 at 02:42:25PM -0800, Peter Lawrence wrote: > #define RELOC_STD_BITS_BASEREL_BIG 0x08 > #define RELOC_STD_BITS_BASEREL_LITTLE 0x08 <<=== shouldn't > this be 0x10 > > #define RELOC_STD_BITS_JMPTABLE_BIG 0x04 > #define RELOC_STD_BITS_JMPTABLE_LITTLE 0x04

aout_gnu.h _LITTLE confused ?

2011-01-20 Thread Peter Lawrence
All, my sincerest apologies if I am missing something obvious, but these defines from "gas/config/aout_gnu.h" sure look fishy. the big-endian defines all march down in value from 0x80 to 0x02, to match bits numbers 0 to 6 of the unsigned char r_bits[1] but the little-endian values aren't