Jason Baron
10d7227bb9
sparc: support static_key usage in non-module __exit sections
...
The jump table can reference text found in an __exit section. Thus,
instead of discarding it at build/link time, include EXIT_TEXT as part
of __init and release it at system boot time.
Without this patch the link fails with:
`.exit.text' referenced in section `__jump_table' of xxx.o:
defined in discarded section `.exit.text' of xxx.o
Link: http://lkml.kernel.org/r/d822da427ab07a02a394602eca687104ff682f83.1467837322.git.jbaron@akamai.com
Signed-off-by: Jason Baron <jbaron@akamai.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Chris Metcalf <cmetcalf@mellanox.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Joe Perches <joe@perches.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-08-04 08:50:07 -04:00
..
2014-10-20 16:20:15 +02:00
2013-07-10 13:56:10 -07:00
2016-03-20 21:28:58 -07:00
2014-05-18 19:01:27 -07:00
2014-10-20 16:20:15 +02:00
2014-05-18 19:01:30 -07:00
2014-10-20 16:20:15 +02:00
2016-04-27 17:27:37 -04:00
2014-10-20 16:20:15 +02:00
2016-03-20 21:28:58 -07:00
2016-04-21 16:43:47 -04:00
2016-04-21 16:43:47 -04:00
2014-05-18 19:01:29 -07:00
2014-05-18 19:01:29 -07:00
2011-10-31 19:30:54 -04:00
2014-09-16 18:31:31 -07:00
2016-07-27 17:50:26 -07:00
2014-01-28 23:38:23 -08:00
2015-05-31 22:15:01 -07:00
2016-05-20 17:55:41 -07:00
2012-05-27 23:52:49 -07:00
2012-10-14 19:26:52 -04:00
2016-04-27 17:27:37 -04:00
2014-03-07 10:06:14 -05:00
2012-07-26 16:46:15 -07:00
2016-04-27 17:27:37 -04:00
2015-03-19 18:54:49 -07:00
2016-01-31 11:06:24 -08:00
2014-10-24 09:52:49 -07:00
2016-01-06 16:31:56 -05:00
2015-05-05 13:35:39 -06:00
2016-08-04 08:50:07 -04:00
2016-08-04 08:50:07 -04:00
2016-07-27 22:53:17 -07:00
2016-07-04 12:25:13 +02:00
2014-05-18 19:01:29 -07:00
2015-08-03 11:34:12 +02:00
2016-05-20 17:55:41 -07:00
2016-05-20 17:55:41 -07:00
2014-05-18 19:01:34 -07:00
2014-08-26 13:45:55 -04:00
2016-07-27 17:50:26 -07:00
2015-11-04 11:30:57 -08:00
2016-03-20 21:28:58 -07:00
2015-09-16 15:47:51 +02:00
2015-09-16 15:47:51 +02:00
2015-03-19 10:17:22 -05:00
2014-04-29 01:12:27 -04:00
2014-12-11 18:51:56 -08:00
2016-05-29 18:55:54 -07:00
2015-12-23 10:41:31 -05:00
2016-04-27 17:27:37 -04:00
2015-02-13 21:21:42 -08:00
2014-08-26 13:45:55 -04:00
2012-04-15 10:28:49 -07:00
2012-07-06 07:16:34 -05:00
2014-04-29 01:12:27 -04:00
2015-10-29 17:35:46 -05:00
2014-10-20 16:20:15 +02:00
2015-10-29 17:35:46 -05:00
2014-11-23 13:01:45 +01:00
2014-10-20 16:20:15 +02:00
2014-10-20 16:20:15 +02:00
2014-12-14 16:10:09 -08:00
2016-08-04 08:50:07 -04:00
2014-05-18 19:01:29 -07:00
2016-06-17 14:45:03 -05:00
2015-03-12 15:04:01 -05:00
2015-03-19 18:54:49 -07:00
2016-05-16 23:11:51 -03:00
2014-10-20 16:20:15 +02:00
2014-10-20 16:20:15 +02:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2011-10-31 19:30:54 -04:00
2014-05-18 19:01:31 -07:00
2013-06-13 22:12:14 +01:00
2011-06-07 16:06:34 -07:00
2014-05-18 19:01:29 -07:00
2011-06-07 16:06:34 -07:00
2014-05-18 19:01:29 -07:00
2014-04-29 01:12:26 -04:00
2014-09-23 16:21:26 -04:00
2012-03-28 18:30:03 +01:00
2012-05-27 23:52:49 -07:00
2016-05-29 18:55:54 -07:00
2013-01-21 14:33:00 -08:00
2016-05-20 17:55:41 -07:00
2016-04-21 16:43:47 -04:00
2016-05-29 11:24:05 -07:00
2016-05-29 11:24:05 -07:00
2016-05-29 11:24:05 -07:00
2016-05-29 11:24:05 -07:00
2016-05-29 11:24:05 -07:00
2011-08-20 17:14:54 -07:00
2016-03-01 20:36:57 +01:00
2016-03-01 20:36:57 +01:00
2014-01-28 23:38:23 -08:00
2016-01-31 11:06:24 -08:00
2016-04-27 17:27:37 -04:00
2011-08-02 21:28:52 -07:00
2011-10-31 19:30:53 -04:00
2015-03-01 21:33:58 -08:00
2015-07-31 22:20:05 +02:00
2014-08-26 13:45:55 -04:00
2015-07-31 22:20:05 +02:00
2015-08-10 11:41:05 +02:00
2014-09-16 17:46:44 -07:00
2014-07-21 22:27:56 -07:00
2014-05-18 19:01:31 -07:00
2014-05-18 19:01:28 -07:00
2016-03-20 21:28:58 -07:00
2016-01-21 16:06:00 -08:00
2016-03-20 21:28:58 -07:00
2016-03-29 18:39:26 -07:00
2016-03-29 18:39:26 -07:00
2014-05-18 19:01:31 -07:00
2015-08-10 11:41:05 +02:00
2015-08-10 11:41:05 +02:00
2014-01-28 23:38:23 -08:00
2014-10-24 09:52:49 -07:00
2015-04-12 21:03:21 +02:00
2015-04-12 21:03:21 +02:00
2016-07-27 17:50:26 -07:00
2012-05-19 23:27:25 -07:00
2012-05-19 23:26:41 -07:00
2011-02-01 12:39:59 -08:00
2011-03-16 18:19:15 -07:00
2014-07-21 21:37:06 -07:00
2016-03-20 21:28:58 -07:00
2016-05-29 18:55:54 -07:00
2016-04-27 17:27:37 -04:00
2016-04-21 16:43:46 -04:00
2014-09-30 14:17:08 -07:00
2012-10-26 15:18:37 -07:00
2016-08-04 08:50:07 -04:00
2014-04-29 01:12:25 -04:00
2016-04-27 17:27:37 -04:00
2012-05-27 23:52:49 -07:00
2012-05-27 23:52:49 -07:00