mkimage: make locate_sections() set up vaddresses as well.
authorPeter Jones <pjones@redhat.com>
Wed, 21 Feb 2018 20:20:26 +0000 (15:20 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 5 Mar 2018 12:44:55 +0000 (13:44 +0100)
commite30de94926ec5250d7a0a091aef38b9071c97f6a
treef637d1a7e7925ed12a2a6363c19e952aa96d6d4a
parent594ac31571970611958b00284f9ca4c6f6c1286d
mkimage: make locate_sections() set up vaddresses as well.

This puts both kinds of address initialization at the same place, and also lets
us iterate through the section list one time fewer.

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