From: Jessica Yu <jeyu@kernel.org>
To: Vincent Whitchurch <vincent.whitchurch@axis.com>
Cc: kernel@axis.com, linux@armlinux.org.uk,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] module: allow arch overrides for .init section names
Date: Mon, 11 May 2020 17:45:00 +0200 [thread overview]
Message-ID: <20200511154459.GA26699@linux-8ccs.fritz.box> (raw)
In-Reply-To: <20200511114803.4475-1-vincent.whitchurch@axis.com>
+++ 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@axis.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@kernel.org>
Alternatively, I can take this through modules-next if the second
patch gets a review and ack from an ARM maintainer.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-05-11 15:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-11 11:48 [PATCH v2 1/2] module: allow arch overrides for .init section names Vincent Whitchurch
2020-05-11 11:48 ` [PATCH v2 2/2] ARM: module: fix handling of unwind init sections Vincent Whitchurch
2020-05-11 15:45 ` Jessica Yu [this message]
2020-05-14 10:46 ` [PATCH v2 1/2] module: allow arch overrides for .init section names Vincent Whitchurch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200511154459.GA26699@linux-8ccs.fritz.box \
--to=jeyu@kernel.org \
--cc=kernel@axis.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=vincent.whitchurch@axis.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox