Vivek Goyal wrote: > +/* __pa_symbol should be used for C visible symbols. > + This seems to be the official gcc blessed way to do such arithmetic. */ > +#define __pa_symbol(x) __pa(RELOC_HIDE((unsigned long)x,0))
#define __pa_symbol(x) __pa(RELOC_HIDE((unsigned long)(x),0))
^^^
... should be better. You should not rely on RELOC_HIDE implementation.
Franck
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot
