[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y1ffEnoLjJ47M6zg@kroah.com>
Date: Tue, 25 Oct 2022 15:05:22 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Pavel Machek <pavel@...x.de>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
kernel test robot <lkp@...el.com>,
Russell King <linux@...linux.org.uk>,
linux-arm-kernel@...ts.infradead.org,
Kees Cook <keescook@...omium.org>,
Sasha Levin <sashal@...nel.org>
Subject: Re: [PATCH 5.10 301/390] ARM: decompressor: Include
.data.rel.ro.local
On Mon, Oct 24, 2022 at 08:41:03PM +0200, Pavel Machek wrote:
> Hi!
>
> > From: Kees Cook <keescook@...omium.org>
> >
> > [ Upstream commit 1b64daf413acd86c2c13f5443f6b4ef3690c8061 ]
> >
> > The .data.rel.ro.local section has the same semantics as .data.rel.ro
> > here, so include it in the .rodata section of the decompressor.
> > Additionally since the .printk_index section isn't usable outside of
> > the core kernel, discard it in the decompressor. Avoids these warnings:
> >
> > arm-linux-gnueabi-ld: warning: orphan section `.data.rel.ro.local' from `arch/arm/boot/compressed/fdt_rw.o' being placed in section `.data.rel.ro.local'
> > arm-linux-gnueabi-ld: warning: orphan section `.printk_index' from
> > `arch/arm/boot/compressed/fdt_rw.o' being placed in section
> > `.printk_index'
>
> There's no printk_index in 5.10., so I'm not sure we should be
> applying it here.
Good point, now dropped.
greg k-h
Powered by blists - more mailing lists