]> xenbits.xensource.com Git - people/wipawel/livepatch-build-tools/commit
livepatch-build: Strip transient or unneeded symbols
authorPawel Wieczorkiewicz <wipawel@amazon.de>
Mon, 8 Oct 2018 12:40:25 +0000 (12:40 +0000)
committerPawel Wieczorkiewicz <wipawel@amazon.de>
Thu, 8 Aug 2019 14:32:25 +0000 (14:32 +0000)
commitb973e5b5115bf772ce55871883af6a37f4c3f85f
tree4c5686d9f86a214028c63c21ea8fbdf218108b30
parent3d47fc89e0ea11159be2deed2be02218811f10fe
livepatch-build: Strip transient or unneeded symbols

In the process of creating a final hotpatch module file make sure to
strip all transient symbols that have not been caught and removed by
create-diff-object processing. For now these are only the hooks
kpatch load/unload symbols.

For all new object files that are carried along for the final linking
the transient hooks symbols are not stripped and neither are any
unneeded symbols. Strip them explicitly from resulting object file.

Signed-off-by: Pawel Wieczorkiewicz <wipawel@amazon.de>
livepatch-build