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 <<=== shouldn't
this be 0x20
#define RELOC_STD_BITS_RELATIVE_BIG 0x02
#define RELOC_STD_BITS_RELATIVE_LITTLE 0x02 <<=== shouldn't
this be 0x40
Yes, they are obviously wrong, but as far as I can tell nothing uses
aout_gnu.h. See include/aout/aout64.h for the values actually used.
--
Alan Modra
Australia Development Lab, IBM