]> git.baikalelectronics.ru Git - kernel.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)
commit3a26d86c01d5d6e514ab904650eeca164d3a1e3f
treed12ecc8be3bd763789a9db18e07ed992973fab6b
parenta302952933d96812fef7ed8234448eba294627e1
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