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-06-03 21:19:40 +10:00
2018-10-26 14:36:21 -07:00
2018-07-30 22:47:53 +10:00
2016-08-07 23:50:09 -04:00
2018-08-13 15:59:06 +10:00
2018-10-26 14:36:21 -07: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
2018-11-02 09:19:35 -07:00
2018-06-07 10:23:33 -07:00
2018-11-25 17:11:21 +11:00
2018-03-31 09:09:36 +11:00
2018-10-09 16:51:05 +11:00
2018-10-26 14:36:21 -07:00
2018-05-25 12:04:46 +10:00