diff options
author | Nicholas Piggin | 2016-11-23 17:41:41 +0100 |
---|---|---|
committer | Michal Marek | 2016-11-29 15:58:57 +0100 |
commit | 4b89b7f7aad5742523db801b7107598e5b5a42c8 (patch) | |
tree | 020266a59636b6c1f939ec1f85cd67ba64e60dc0 /scripts/mod | |
parent | kbuild: improve linker compatibility with lib-ksyms.o build (diff) | |
download | kernel-qcow2-linux-4b89b7f7aad5742523db801b7107598e5b5a42c8.tar.gz kernel-qcow2-linux-4b89b7f7aad5742523db801b7107598e5b5a42c8.tar.xz kernel-qcow2-linux-4b89b7f7aad5742523db801b7107598e5b5a42c8.zip |
kbuild: keep data tables through dead code elimination
When CONFIG_LD_DEAD_CODE_DATA_ELIMINATION is enabled we must ensure
that we still keep various programatically-accessed tables.
[npiggin: Fold Paul's patches into one, and add a few more tables.
diff symbol tables of allyesconfig with/without -gc-sections shows up
lost tables quite easily.]
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions