mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
commitec91e78d37upstream. Commite49ce14150("modpost: use linker section to generate table.") was not so cool as we had expected first; it ended up with ugly section hacks when commitdd2a3acaec("mod/file2alias: make modpost compile on darwin again") came in. Given a certain degree of unknowledge about the link stage of host programs, I really want to see simple, stupid table lookup so that this works in the same way regardless of the underlying executable format. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Mathieu Malaterre <malat@debian.org> [nc: Omit rpmsg, sdw, tbsvc, and typec as they don't exist here] Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>