Mathieu Malaterre
beba24ac59
powerpc/32: Add .data..Lubsan_data*/.data..Lubsan_type* sections explicitly
...
When both `CONFIG_LD_DEAD_CODE_DATA_ELIMINATION=y` and `CONFIG_UBSAN=y`
are set, link step typically produce numberous warnings about orphan
section:
+ powerpc-linux-gnu-ld -EB -m elf32ppc -Bstatic --orphan-handling=warn --build-id --gc-sections -X -o .tmp_vmlinux1 -T ./arch/powerpc/kernel/vmlinux.lds --who
le-archive built-in.a --no-whole-archive --start-group lib/lib.a --end-group
powerpc-linux-gnu-ld: warning: orphan section `.data..Lubsan_data393' from `init/main.o' being placed in section `.data..Lubsan_data393'.
powerpc-linux-gnu-ld: warning: orphan section `.data..Lubsan_data394' from `init/main.o' being placed in section `.data..Lubsan_data394'.
...
powerpc-linux-gnu-ld: warning: orphan section `.data..Lubsan_type11' from `init/main.o' being placed in section `.data..Lubsan_type11'.
powerpc-linux-gnu-ld: warning: orphan section `.data..Lubsan_type12' from `init/main.o' being placed in section `.data..Lubsan_type12'.
...
This commit remove those warnings produced at W=1.
Link: https://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg135407.html
Suggested-by: Nicholas Piggin <npiggin@gmail.com >
Signed-off-by: Mathieu Malaterre <malat@debian.org >
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au >
2018-11-25 17:11:22 +11:00
..
2018-10-20 13:26:47 +11:00
2018-09-14 13:47:31 +10:00
2018-09-14 13:47:31 +10:00
2018-06-03 21:19:40 +10:00
2018-10-26 14:36:21 -07:00
2017-11-02 11:10:55 +01:00
2018-10-14 18:04:09 +11:00
2018-10-13 22:21:25 +11:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-07-30 22:48:17 +10:00
2018-03-24 00:38:51 +11:00
2018-10-09 16:04:27 +11:00
2018-07-19 14:37:57 +10:00
2018-10-14 18:04:09 +11:00
2018-07-30 22:47:53 +10:00
2017-04-13 23:34:33 +10:00
2018-01-10 16:41:14 +01:00
2018-10-19 08:43:46 +02:00
2018-07-30 15:58:01 -05:00
2018-10-31 08:54:15 -07:00
2018-03-27 23:44:58 +11:00
2018-10-13 22:21:25 +11:00
2018-11-25 17:11:21 +11:00
2018-03-27 23:44:58 +11:00
2018-10-13 22:21:25 +11:00
2018-01-27 20:02:52 +11:00
2018-10-13 22:21:25 +11:00
2018-10-03 15:40:01 +10:00
2018-10-14 18:04:09 +11:00
2016-08-07 23:50:09 -04:00
2014-06-10 18:54:22 -07:00
2018-07-30 22:48:17 +10:00
2018-10-14 18:04:09 +11:00
2018-09-19 22:08:12 +10:00
2018-07-30 22:48:17 +10:00
2017-11-02 11:10:55 +01:00
2018-10-26 21:58:58 +11:00
2018-07-30 22:48:17 +10:00
2018-07-30 22:48:13 +10:00
2016-08-07 23:50:09 -04:00
2018-07-30 22:48:17 +10:00
2017-11-02 11:10:55 +01:00
2018-07-30 22:48:17 +10:00
2018-06-26 09:07:55 +02:00
2018-07-30 22:48:17 +10:00
2018-07-24 22:03:14 +10:00
2018-08-13 15:59:06 +10:00
2018-07-30 22:48:17 +10:00
2018-08-14 15:36:02 +10:00
2016-12-20 09:48:44 -08:00
2018-10-14 18:04:09 +11:00
2018-04-05 14:59:26 +10:00
2018-10-26 14:36:21 -07:00
2018-08-07 21:49:24 +10:00
2018-10-14 18:04:09 +11:00
2015-08-03 11:34:12 +02:00
2018-04-13 17:10:28 -07:00
2018-10-20 13:26:47 +11:00
2018-06-21 12:33:19 +02:00
2018-06-21 12:33:19 +02:00
2018-07-30 22:48:16 +10:00
2018-05-17 14:12:40 +10:00
2018-07-30 22:48:17 +10:00
2017-11-02 11:10:55 +01:00
2018-05-10 23:25:08 +10:00
2018-08-10 22:12:36 +10:00
2018-07-30 22:47:53 +10:00
2018-10-19 00:56:17 +11:00
2018-10-04 23:16:53 +10:00
2018-09-19 21:59:22 +10:00
2018-07-30 22:48:17 +10:00
2018-07-30 22:48:17 +10:00
2018-06-04 00:39:17 +10:00
2018-05-25 12:04:38 +10:00
2018-10-20 13:26:47 +11:00
2018-10-20 13:26:47 +11:00
2017-12-11 13:03:35 +11:00
2015-06-02 11:47:45 +10:00
2018-06-03 20:40:24 +10:00
2017-08-23 22:27:04 +10:00
2018-01-19 22:37:01 +11:00
2017-11-12 23:51:41 +11:00
2018-10-31 08:54:16 -07:00
2018-10-31 08:54:16 -07:00
2018-10-14 18:04:09 +11:00
2017-12-11 13:03:35 +11:00
2018-02-06 09:59:40 -08:00
2018-08-17 11:32:50 -07:00
2017-12-18 23:05:52 -06:00
2018-07-30 22:48:16 +10:00
2018-01-22 05:48:33 +11:00
2018-11-02 09:19:35 -07:00
2018-10-19 00:56:17 +11:00
2018-10-19 00:56:17 +11:00
2017-11-02 11:10:55 +01:00
2018-10-31 08:54:15 -07:00
2016-12-24 11:46:01 -08:00
2018-10-14 18:04:09 +11:00
2017-08-31 14:26:47 +10:00
2018-01-22 05:48:33 +11:00
2017-08-31 14:26:40 +10:00
2018-06-07 10:23:33 -07:00
2018-06-03 20:43:33 +10:00
2018-10-13 22:21:25 +11:00
2018-10-19 00:56:17 +11:00
2018-11-25 17:11:21 +11:00
2018-10-31 08:54:15 -07:00
2018-11-15 14:48:43 +11:00
2018-10-31 08:54:16 -07:00
2018-05-25 12:04:43 +10:00
2018-06-25 23:21:13 +09:00
2018-06-25 23:21:13 +09:00
2018-06-22 19:04:22 +02:00
2018-05-10 23:25:13 +10:00
2017-11-02 11:10:55 +01:00
2018-10-21 19:32:00 +11:00
2018-06-19 23:03:50 +10:00
2014-10-09 22:26:04 -04:00
2018-07-30 22:48:17 +10:00
2017-03-02 08:42:30 +01:00
2018-10-14 18:04:09 +11:00
2017-11-02 11:10:55 +01:00
2017-03-20 19:02:49 +11:00
2018-05-10 23:25:15 +10:00
2018-06-25 23:21:13 +09:00
2018-03-31 09:09:36 +11:00
2018-05-10 23:25:14 +10:00
2018-05-10 23:25:16 +10:00
2018-05-10 23:25:14 +10:00
2018-05-25 12:04:44 +10:00
2018-10-20 13:26:47 +11:00
2018-10-09 16:51:05 +11:00
2018-10-26 14:36:21 -07:00
2014-11-12 13:47:20 +11:00
2015-04-07 17:15:13 +10:00
2017-08-24 16:19:21 +10:00
2018-07-30 22:47:54 +10:00
2018-05-25 12:04:46 +10:00
2018-07-30 22:48:16 +10:00
2018-11-25 17:11:22 +11:00
2018-07-24 22:03:14 +10:00