Files
Linux/arch/tile/kernel
Chris Metcalf c14b4bcfd9 tile: support static_key usage in non-module __exit sections
Previously, all the __exit sections were just dropped by the link phase.
However, if there are static_key (jump label) constructs in __exit
sections that are not modules, the link fails with the message:

   `.exit.text' referenced in section `__jump_table' of xxx.o:
   defined in discarded section `.exit.text' of xxx.o

Support this usage by keeping the .exit.text sections in the final image
if JUMP_LABEL is defined, then discarding them once initialization is
complete.

Link: http://lkml.kernel.org/r/bfd7c107c610c30e992868ebfe2a5d796a097464.1467837322.git.jbaron@akamai.com
Signed-off-by: Jason Baron <[email protected]>
Signed-off-by: Chris Metcalf <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2016-08-04 08:50:07 -04:00
..
2015-08-06 20:22:40 -04:00
2015-05-11 11:22:40 -04:00
…
…
2016-03-04 14:44:57 -05:00
2016-05-23 12:17:22 -04:00
2016-06-14 10:54:46 -07:00
…
…
…
2015-04-17 12:58:44 -04:00
…
2016-05-23 12:17:22 -04:00
2015-09-28 11:23:39 -04:00