diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-05-09 22:59:58 +1000 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-05-17 22:45:00 +0900 |
commit | 266ff2a8f51f02b429a987d87634697eb0d01d6a (patch) | |
tree | 22f39b7763a55e89268cbfd52de94221dfae185a /Makefile | |
parent | 8b1857436baa2b9b6d7330715180aa47a63b15ca (diff) | |
download | lwn-266ff2a8f51f02b429a987d87634697eb0d01d6a.tar.gz lwn-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 'Makefile')
0 files changed, 0 insertions, 0 deletions