x86/EFI: don't have an overly large image size
authorJan Beulich <jbeulich@suse.com>
Mon, 26 Apr 2021 08:26:04 +0000 (10:26 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 26 Apr 2021 08:26:04 +0000 (10:26 +0200)
commit11e7f0fe72ca0060762d18268e0388731fe8ccb6
treec0332200af3273092b316bdab95a4b3d6b9105b0
parent1df03bc5958e3d8d1f2669426cd5b1353690505b
x86/EFI: don't have an overly large image size

While without debug info the difference is benign (so far), since we pad
the image to 16Mb anyway, forcing the .reloc section to a 2Mb boundary
causes subsequent .debug_* sections to go farther beyond 16Mb than
needed. There's no reason to advance . for establishing __2M_rwdata_end,
as all data past _end is of no interest at runtime anymore anyway.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/xen.lds.S