mkimage: refactor a bunch of section data into a struct.
authorPeter Jones <pjones@redhat.com>
Wed, 21 Feb 2018 20:20:27 +0000 (15:20 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 5 Mar 2018 13:05:35 +0000 (14:05 +0100)
commit7542af695f338a2b5b86d8cab5cac0d235d47c38
tree2e7f45e8e7821cfbf04fdca164aa6ed99c74d414
parente30de94926ec5250d7a0a091aef38b9071c97f6a
mkimage: refactor a bunch of section data into a struct.

This basically moves a bunch of the section information we pass around a
lot into a struct, and passes a pointer to a single one of those
instead.

This shouldn't change the binary file output or the "grub-mkimage -v"
output in any way.

Signed-off-by: Peter Jones <pjones@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
util/grub-mkimagexx.c