Revert "Kbuild, lto, workaround: Don't warn for initcall_reference in modpost"
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 30 Jul 2022 17:36:36 +0000 (02:36 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 4 Aug 2022 11:27:17 +0000 (20:27 +0900)
commita25efd6ef1ef4c32991a1d5a013dd41e3b8f7eff
tree9d98bd9db3634da0a4b622159b3307281f6ac643
parent5419aa2a8deea06b796222d3215dac6adc270c78
Revert "Kbuild, lto, workaround: Don't warn for initcall_reference in modpost"

This reverts commit 77ab21adae509c5540956729e2d03bc1a59bc82a.

Even after 8 years later, GCC LTO has not been upstreamed. Also, it said
"This is a workaround". If this is needed in the future, it should be
added in a proper way.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Jiri Slaby <jirislaby@kernel.org>
scripts/mod/modpost.c