On Tuesday 23 September 2014 12:25:31 behanw@xxxxxxxxxxxxxxxxxx wrote:I had worried about that as well (as we discussed at LCU), but with the limited testing I tried this with it seemed to indicate that gas was smart enough to handle it in most cases. However the kbuild test robot indicates that this patch breaks MIPS. So indeed your concern is justified.
#define DEFINE(sym, val) \Isn't the '@' character to start a comment architecture specific?
- asm volatile("\n->" #sym " %0 " #val : : "i" (val))
+ asm volatile("\n@->" #sym " %0 " #val : : "i" (val))
If this makes it work on ARM, what about other architectures?For now, I think I need to try something else.