mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
8d9814d2b4
* Fix objtool 'unannotated intra-function call' Fixes objtool errors in stricter kernel configs objtool likely wants the function to be annotated with SYM_CODE_START/SYM_CODE_END (linux/linkage.h). It might be better to rewrite the linux kernel module assembly files to use gas, and properly annotate everything, but this should be a quick fix for now. * Use module_init/module_exit in linux driver Fixes objtool errors in stricter kernel configs * Make init functions static * Re-add __init & __exit macros in linux driver * Add semicolons after module_init/module_exit calls --------- Signed-off-by: J. Stephan Bentze <j.s.bentze@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>