[PATCH] powerpc/misc: fix exported functions that reference the TOC

Benjamin Herrenschmidt benh at au1.ibm.com
Tue Apr 4 08:05:05 AEST 2017


On Mon, 2017-04-03 at 23:29 +1000, Michael Ellerman wrote:
> The other option would be just to make a rule that anything EXPORT'ed
> must use _GLOBAL_TOC().

Can we enforce that somewhat at build time ?

Cheers,
Ben.



More information about the Linuxppc-dev mailing list