]> xenbits.xensource.com Git - people/wipawel/livepatch-build-tools/commit
livepatch-build: Strip all metadata symbols from hotpatch modules master
authorPawel Wieczorkiewicz <wipawel@amazon.de>
Tue, 22 Jan 2019 13:21:29 +0000 (13:21 +0000)
committerPawel Wieczorkiewicz <wipawel@amazon.de>
Wed, 14 Aug 2019 11:49:35 +0000 (11:49 +0000)
commitc951cf1e62fa08aba8c68b953755c9d26fc19b27
tree3cec4eda2294f5df4e12da36ea9c82871e12c209
parentb973e5b5115bf772ce55871883af6a37f4c3f85f
livepatch-build: Strip all metadata symbols from hotpatch modules

Strip all unneeded metadata symbols from generated hotpatch modules.
The metadata symbols are the symbols from metadata-like sections (e.g.
'.livepatch.funcs') or livepatch hooks symbols (defined by a set of
prefixes. E.g. 'livepatch_load_data_').

By default the create-diff-object does not create symbols in metadata
sections. However, such symbols may be implicitly added by speciying
extra entries in the sections manually (in a given patch).
The symbols are not needed for the hotpatch modules and should be
stripped to avoid symbol names collisions and to save hotpatch files
space.

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