]> xenbits.xensource.com Git - people/wipawel/livepatch-build-tools/commit
create-diff-object: Add new entries to special sections array
authorPawel Wieczorkiewicz <wipawel@amazon.de>
Mon, 1 Oct 2018 12:27:00 +0000 (12:27 +0000)
committerPawel Wieczorkiewicz <wipawel@amazon.de>
Thu, 8 Aug 2019 08:35:01 +0000 (08:35 +0000)
commit464ab25e2866e6dd7ac095fecfdc12d8038fa5c3
treebd0f4a57003d63f862c4ce4e48cb60462006ec3c
parentd8cc8591d63734c85baa4ed61cbef9c033d34e6c
create-diff-object: Add new entries to special sections array

Handle .livepatch.hooks* and .altinstr_replacement sections as the
special sections with assigned group_size resolution function.
By default each .livepatch.hooks* sections' entry is 8 bytes long (a
pointer). The .altinstr_replacement section has undefined group_size.

Allow to specify different .livepatch.hooks* section entry size using
shell environment variable HOOK_STRUCT_SIZE.

Signed-off-by: Pawel Wieczorkiewicz <wipawel@amazon.de>
Reviewed-by: Andra-Irina Paraschiv <andraprs@amazon.com>
Reviewed-by: Bjoern Doebel <doebel@amazon.de>
Reviewed-by: Norbert Manthey <nmanthey@amazon.de>
create-diff-object.c