]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
kbuild: thin archives final link close --whole-archives option
authorNicholas Piggin <npiggin@gmail.com>
Fri, 9 Jun 2017 05:24:13 +0000 (15:24 +1000)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 30 Jun 2017 00:03:02 +0000 (09:03 +0900)
commit1328a1ae0e9048ff4b7f6b60c497db7a2799e1b1
treed12ecc8be3bd763789a9db18e07ed992973fab6b
parentdf91b0262e2cff23db5eac77126ea0bef06d54d2
kbuild: thin archives final link close --whole-archives option

Close the --whole-archives option with --no-whole-archive. Some
architectures end up including additional .o and files multiple
times after this, and they get duplicate symbols when they are
brought under the --whole-archives option.

This matches more closely with the incremental final link.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/link-vmlinux.sh