On 7/16/19 11:04 PM, tony.ngu...@bt.com wrote: > + MO_ASHIFT = 4, > + MO_AMASK = 7 << MO_ASHIFT, > +#ifdef ALIGNED_ONLY > + MO_ALIGN = 0, > + MO_UNALN = MO_AMASK, > +#else > + MO_ALIGN = MO_AMASK, > + MO_UNALN = 0, > +#endif
I'm not sure you can move this portion as-is. I think ALIGNED_ONLY needs to be moved out of target/foo/cpu.h into configure, as we do with TARGET_WORDS_BIGENDIAN, so that it's always defined early. Also, poison the symbol in include/exec/poison.h. r~