aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2018-05-09 22:59:58 +1000
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-05-17 22:45:00 +0900
commit266ff2a8f51f02b429a987d87634697eb0d01d6a (patch)
tree22f39b7763a55e89268cbfd52de94221dfae185a /init
parentmodpost: constify *modname function argument where possible (diff)
downloadlinux-dev-266ff2a8f51f02b429a987d87634697eb0d01d6a.tar.xz
linux-dev-266ff2a8f51f02b429a987d87634697eb0d01d6a.zip
kbuild: Fix asm-generic/vmlinux.lds.h for LD_DEAD_CODE_DATA_ELIMINATION
KEEP more tables, and add the function/data section wildcard to more section selections. This is a little ad-hoc at the moment, but kernel code should be moved to consistently use .text..x (note: double dots) for explicit sections and all references to it in the linker script can be made with TEXT_MAIN, and similarly for other sections. For now, let's see if major architectures move to enabling this option then we can do some refactoring passes. Otherwise if it remains unused or superseded by LTO, this may not be required. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions