Kees Cook
3e6631485f
vmlinux.lds.h: Keep .ctors.* with .ctors
...
Under some circumstances, the compiler generates .ctors.* sections. This
is seen doing a cross compile of x86_64 from a powerpc64el host:
x86_64-linux-gnu-ld: warning: orphan section `.ctors.65435' from `kernel/trace/trace_clock.o' being
placed in section `.ctors.65435'
x86_64-linux-gnu-ld: warning: orphan section `.ctors.65435' from `kernel/trace/ftrace.o' being
placed in section `.ctors.65435'
x86_64-linux-gnu-ld: warning: orphan section `.ctors.65435' from `kernel/trace/ring_buffer.o' being
placed in section `.ctors.65435'
Include these orphans along with the regular .ctors section.
Reported-by: Stephen Rothwell <[email protected] >
Tested-by: Stephen Rothwell <[email protected] >
Fixes: 83109d5d5f ("x86/build: Warn on orphan section placement")
Signed-off-by: Kees Cook <[email protected] >
Acked-by: Nick Desaulniers <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
2020-10-27 11:13:41 -07:00
..
2020-08-24 15:10:24 -07:00
2020-02-17 20:12:17 +01:00
2017-11-02 11:10:55 +01:00
2019-06-03 12:32:56 +02:00
2020-08-24 15:09:59 -07:00
2020-01-07 07:47:23 -08:00
2020-07-29 16:14:18 +02:00
2017-11-02 11:10:55 +01:00
2018-01-30 19:07:54 -08:00
2017-11-02 11:10:55 +01:00
2017-11-15 13:28:48 -08:00
2020-08-07 10:33:50 -07:00
2020-03-06 11:06:19 +01:00
2017-11-02 11:10:55 +01:00
2020-10-25 14:51:49 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-06-26 00:27:37 -07:00
2020-08-20 15:45:14 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-09-17 13:00:46 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:16 +02:00
2019-09-17 14:30:30 -07:00
2018-12-13 21:06:18 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-10-25 14:51:49 -07:00
2019-05-24 17:27:11 +02:00
2019-12-16 10:35:33 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-14 15:05:45 -08:00
2019-06-24 09:16:47 +10:00
2019-06-19 17:09:55 +02:00
2020-03-27 23:58:55 -04:00
2019-08-03 07:02:01 -07:00
2020-02-10 12:58:36 +01:00
2017-11-02 11:10:55 +01:00
2020-06-20 22:14:53 +10:00
2020-06-03 15:13:47 -07:00
2017-11-02 11:10:55 +01:00
2018-06-07 17:34:38 -07:00
2020-10-05 09:44:16 +01:00
2017-11-02 11:10:55 +01:00
2020-08-14 19:56:57 -07:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-10-22 13:13:57 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-10-25 14:51:49 -07:00
2018-03-06 18:40:44 +01:00
2020-07-09 13:29:42 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-01-23 10:41:16 -08:00
2019-04-08 11:59:39 +01:00
2020-07-17 10:02:03 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-09-25 00:36:41 +09:00
2020-10-14 19:14:51 +00:00
2017-11-02 11:10:55 +01:00
2019-02-22 21:53:25 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-09 23:19:56 +01:00
2018-05-07 07:15:41 +02:00
2020-01-31 11:15:59 -08:00
2020-08-14 19:56:55 -07:00
2020-04-07 10:43:39 -07:00
2019-12-01 06:29:19 -08:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2019-07-31 19:03:34 +02:00
2018-02-06 10:28:58 +01:00
2019-05-30 11:26:37 -07:00
2020-07-29 16:14:19 +02:00
2020-08-07 10:33:50 -07:00
2017-11-02 11:10:55 +01:00
2020-07-21 10:50:36 +01:00
2020-07-10 16:01:52 -07:00
2020-08-11 12:06:15 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-14 19:52:48 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-24 17:27:11 +02:00
2019-05-30 11:29:21 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-08-07 11:33:26 -07:00
2017-11-02 11:10:55 +01:00
2020-05-28 11:35:41 -07:00
2017-11-02 11:10:55 +01:00
2020-10-04 10:27:02 -07:00
2017-11-02 11:10:55 +01:00
2020-04-23 10:50:26 +09:00
2017-11-02 11:10:55 +01:00
2020-10-27 11:13:41 -07:00
2017-11-02 11:10:55 +01:00
2019-05-24 17:27:13 +02:00