Re: [PATCH] arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27

From: Siqi Lin
Date: Thu Oct 26 2017 - 17:17:26 EST


On Thu, Oct 26, 2017 at 2:06 PM, Nick Desaulniers
<ndesaulniers@xxxxxxxxxx> wrote:
>
> + folks in Suggested-by/Reported by lines, since git send-email seems
> to only pull in folks on Signed-off-by line :(
>
> https://lkml.org/lkml/2017/10/26/590

I'm OK with sticking with the <2.27 binutils behavior. The gzip data is:

binutils 2.25:
Image 41467904
Image.gz 13395151
binutils 2.27:
Image 41467392
Image.gz 14114953

gzipped kernel increased by 0.69 MiB.

The one special case I see is !CONFIG_RELOCATABLE and compression is
used, where there's a tradeoff between compressed image size and the
benefit of dynamic relocs.