]> git.baikalelectronics.ru Git - kernel.git/commit
modpost: file2alias: go back to simple devtable lookup
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 22 Nov 2018 04:28:41 +0000 (13:28 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 1 Dec 2018 13:21:57 +0000 (22:21 +0900)
commitad0a47d6f9792d304ddfe11749d27af09f8a41db
tree27e9c05a4e699d3dbcd224984005411f64d43b30
parent71e9509814bddcaa9349b1ae741b6239a7905b8c
modpost: file2alias: go back to simple devtable lookup

Commit 017b5918bf81 ("modpost: use linker section to generate table.")
was not so cool as we had expected first; it ended up with ugly section
hacks when commit 440d5c870f60 ("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>
scripts/mod/file2alias.c