build: correctly report non-empty section sizes upon .o -> .init.o conversion
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Aug 2020 11:12:21 +0000 (13:12 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Aug 2020 11:12:21 +0000 (13:12 +0200)
commitd87c5166daee1f9e1570961b2d204a4a2570acf5
tree6877b4160cbe75f008aa50345ace4453edb87f16
parent5132a0a37190b73c99dbbecf48dc4fb214feaf14
build: correctly report non-empty section sizes upon .o -> .init.o conversion

The originally used sed expression converted not just multiple leading
zeroes (as intended), but also trailing ones, rendering the error
message somewhat confusing. Collapse zeroes in just the one place where
we need them collapsed, and leave objdump's output as is for all other
purposes.

Fixes: 48115d14743e ("Move more kernel decompression bits to .init.* sections")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/Rules.mk