Philip Müller
cd4f9f2385
complete e390f9a port for v4.9.106
...
objtool ports introduced in v4.9.106 were not totally complete. Therefore
they resulted in issues like:
module: overflow in relocation type 10 val XXXXXXXXXXX
‘usbcore’ likely not compiled with -mcmodel=kernel
module: overflow in relocation type 10 val XXXXXXXXXXX
‘scsi_mod’ likely not compiled with -mcmodel=kernel
Missing part was the complete backport of commit e390f9a .
Original notes by Josh Poimboeuf:
The '__unreachable' and '__func_stack_frame_non_standard' sections are
only used at compile time. They're discarded for vmlinux but they
should also be discarded for modules.
Since this is a recurring pattern, prefix the section names with
".discard.". It's a nice convention and vmlinux.lds.h already discards
such sections.
Also remove the 'a' (allocatable) flag from the __unreachable section
since it doesn't make sense for a discarded section.
Signed-off-by: Philip Müller <philm@manjaro.org >
Fixes: d1091c7fa3 ("objtool: Improve detection of BUG() and other dead ends")
Link: https://gitlab.manjaro.org/packages/core/linux49/issues/2
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2018-06-13 16:16:44 +02:00
..
2017-02-18 15:11:40 +01:00
2017-03-15 10:02:51 +08:00
2017-10-12 11:51:18 +02:00
2016-10-17 16:26:29 +01:00
2017-03-15 10:02:46 +08:00
2018-04-13 19:48:19 +02:00
2018-04-13 19:48:04 +02:00
2017-10-08 10:26:08 +02:00
2018-05-01 15:13:07 -07:00
2018-04-08 12:12:50 +02:00
2016-11-05 13:45:02 +05:30
2018-03-22 09:17:50 +01:00
2017-01-19 20:18:07 +01:00
2016-10-22 17:08:07 -04:00
2018-03-22 09:17:44 +01:00
2017-09-27 14:39:18 +02:00
2018-05-25 16:13:04 +02:00
2017-12-20 10:07:26 +01:00
2018-04-20 08:21:06 +02:00
2017-10-08 10:26:06 +02:00
2018-04-24 09:34:18 +02:00
2018-04-24 09:34:18 +02:00
2016-10-14 12:18:50 -07:00
2017-01-19 20:18:07 +01:00
2018-01-17 09:38:55 +01:00
2018-01-31 12:55:57 +01:00
2017-12-09 22:01:54 +01:00
2018-01-31 12:55:51 +01:00
2017-01-06 10:40:13 +01:00
2017-09-27 14:39:20 +02:00
2018-03-31 18:11:33 +02:00
2017-06-14 15:06:00 +02:00
2016-10-17 15:27:27 -07:00
2017-03-12 06:41:44 +01:00
2018-03-18 11:18:52 +01:00
2018-06-13 16:16:44 +02:00
2018-02-22 15:43:53 +01:00
2016-11-11 08:12:37 -08:00
2017-07-05 14:40:26 +02:00
2018-05-22 16:57:59 +02:00
2016-10-20 16:35:50 +02:00
2018-01-02 20:35:17 +01:00
2018-05-30 07:50:26 +02:00
2017-10-12 11:51:25 +02:00
2018-01-10 09:29:52 +01:00
2018-02-25 11:05:44 +01:00
2018-02-28 10:18:33 +01:00
2018-05-30 07:50:16 +02:00
2017-03-22 12:43:33 +01:00
2017-03-15 10:02:44 +08:00
2017-03-12 06:41:44 +01:00
2017-07-15 12:16:11 +02:00
2017-12-14 09:28:11 +01:00
2018-05-22 16:57:58 +02:00
2016-10-14 14:26:58 -07:00
2017-05-14 14:00:22 +02:00
2017-07-12 15:01:02 +02:00
2018-02-13 12:36:00 +01:00
2017-12-09 22:01:56 +01:00
2018-01-17 09:38:58 +01:00
2016-11-11 08:12:37 -08:00
2018-03-22 09:18:00 +01:00
2017-06-17 06:41:52 +02:00
2018-01-10 09:29:52 +01:00
2017-03-31 10:31:46 +02:00
2018-03-28 18:39:23 +02:00
2017-08-06 18:59:43 -07:00
2017-12-14 09:28:22 +01:00
2017-05-14 14:00:22 +02:00
2017-05-25 15:44:41 +02:00
2018-04-24 09:34:12 +02:00
2016-11-17 09:46:56 -08:00
2017-10-27 10:38:08 +02:00
2018-04-29 11:32:01 +02:00
2018-04-08 12:12:52 +02:00
2017-03-12 06:41:43 +01:00
2016-10-26 15:45:38 +10:00
2016-10-20 15:51:28 +11:00
2018-01-02 20:35:11 +01:00
2017-02-09 08:08:31 +01:00
2018-02-22 15:43:48 +01:00
2018-04-08 12:12:45 +02:00
2017-01-19 20:17:59 +01:00
2018-02-22 15:43:55 +01:00
2016-10-16 11:02:31 +02:00
2016-10-27 18:43:43 -07:00
2018-05-30 07:50:26 +02:00
2018-02-28 10:18:34 +01:00
2017-10-27 10:38:11 +02:00
2017-05-25 15:44:47 +02:00
2018-05-30 07:50:30 +02:00
2017-03-15 10:02:47 +08:00
2017-07-21 07:42:21 +02:00
2018-04-08 12:12:50 +02:00
2017-06-17 06:41:51 +02:00
2017-10-27 10:38:08 +02:00
2017-08-24 17:12:19 -07:00
2017-04-08 09:30:35 +02:00
2017-02-09 08:08:28 +01:00
2017-06-17 06:41:54 +02:00
2017-01-19 20:17:59 +01:00
2017-08-11 08:49:29 -07:00
2018-05-19 10:27:00 +02:00
2017-12-20 10:07:29 +01:00
2017-12-14 09:28:16 +01:00
2018-01-31 12:55:53 +01:00
2018-02-13 12:35:58 +01:00
2017-03-15 10:02:44 +08:00
2017-11-18 11:22:21 +01:00
2017-02-01 08:33:08 +01:00
2017-08-11 08:49:28 -07:00
2017-06-17 06:41:57 +02:00
2018-05-22 16:58:02 +02:00
2016-10-19 11:36:22 -06:00
2016-11-29 23:17:02 -05:00
2017-12-14 09:28:16 +01:00
2018-03-22 09:17:44 +01:00
2017-09-09 17:39:41 +02:00
2018-02-25 11:05:51 +01:00
2018-04-13 19:48:07 +02:00
2018-01-05 15:46:35 +01:00
2017-02-09 08:08:28 +01:00
2017-12-09 22:01:52 +01:00
2018-01-17 09:38:53 +01:00
2017-08-24 17:12:21 -07:00
2016-10-14 11:36:59 -07:00
2017-01-06 10:40:15 +01:00
2018-03-24 11:00:09 +01:00
2017-11-15 15:53:17 +01:00
2018-05-30 07:50:21 +02:00
2018-04-20 08:21:05 +02:00
2017-08-06 18:59:43 -07:00
2018-05-30 07:50:27 +02:00
2017-06-14 15:05:54 +02:00
2017-04-12 12:41:15 +02:00
2017-12-16 16:25:45 +01:00
2017-01-26 08:24:37 +01:00
2016-10-29 12:14:39 -06:00
2018-03-31 18:11:33 +02:00
2018-05-22 16:58:01 +02:00
2018-05-22 16:58:01 +02:00
2018-05-01 15:13:09 -07:00
2018-01-17 09:38:53 +01:00
2018-05-22 16:57:57 +02:00
2017-08-30 10:21:40 +02:00
2018-04-13 19:48:19 +02:00
2017-08-11 08:49:36 -07:00
2018-02-25 11:05:41 +01:00
2018-05-30 07:50:24 +02:00
2017-01-19 20:17:59 +01:00
2017-01-26 08:24:44 +01:00
2016-10-17 09:50:56 -07:00
2017-12-14 09:28:11 +01:00
2018-06-06 16:44:34 +02:00
2016-10-20 13:27:47 +02:00
2017-06-29 13:00:30 +02:00
2018-01-02 20:35:17 +01:00
2017-10-12 11:51:21 +02:00
2017-09-27 14:39:19 +02:00
2018-05-01 15:13:05 -07:00
2017-04-21 09:31:21 +02:00
2017-03-18 19:14:29 +08:00
2018-01-31 12:55:52 +01:00
2017-07-27 15:08:03 -07:00
2017-02-04 09:47:09 +01:00
2017-12-25 14:23:37 +01:00
2018-05-01 15:13:05 -07:00
2018-01-02 20:35:18 +01:00
2018-03-18 11:18:48 +01:00