[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200514104613.ckwql7s4xbgqj7ss@axis.com>
Date: Thu, 14 May 2020 12:46:13 +0200
From: Vincent Whitchurch <vincent.whitchurch@...s.com>
To: Jessica Yu <jeyu@...nel.org>, <linux@...linux.org.uk>
CC: "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
kernel <kernel@...s.com>
Subject: Re: [PATCH v2 1/2] module: allow arch overrides for .init section
names
On Mon, May 11, 2020 at 05:45:00PM +0200, Jessica Yu wrote:
> +++ Vincent Whitchurch [11/05/20 13:48 +0200]:
> >ARM stores unwind information for .init.text in sections named
> >.ARM.extab.init.text and .ARM.exidx.init.text. Since those aren't
> >currently recognized as init sections, they're allocated along with the
> >core section, and relocation fails if the core and the init section are
> >allocated from different regions and can't reach other.
> >
> > final section addresses:
> > ...
> > 0x7f800000 .init.text
> > ..
> > 0xcbb54078 .ARM.exidx.init.text
> > ..
> >
> > section 16 reloc 0 sym '': relocation 42 out of range (0xcbb54078 ->
> > 0x7f800000)
> >
> >Allow architectures to override the section name so that ARM can fix
> >this.
> >
> >Signed-off-by: Vincent Whitchurch <vincent.whitchurch@...s.com>
> >---
> >v2: Add comment and move module_init_section() next to module_exit_section().
>
> Thanks, this patch looks fine to me. You could add my:
>
> Acked-by: Jessica Yu <jeyu@...nel.org>
>
> Alternatively, I can take this through modules-next if the second
> patch gets a review and ack from an ARM maintainer.
Thanks! I've put the patches in Russell's patch system.
Powered by blists - more mailing lists