From: Guenter Roeck <linux@roeck-us.net>
To: Chen Liqin <liqin.linux@gmail.com>
Cc: Lennox Wu <lennox.wu@gmail.com>,
linux-kernel@vger.kernel.org,
Quentin Casasnovas <quentin.casasnovas@oracle.com>
Subject: Re: [PATCH] score: Fix exception handler label
Date: Wed, 15 Apr 2015 10:23:34 -0700 [thread overview]
Message-ID: <20150415172334.GA22440@roeck-us.net> (raw)
In-Reply-To: <1429112030-19164-1-git-send-email-linux@roeck-us.net>
On Wed, Apr 15, 2015 at 08:33:50AM -0700, Guenter Roeck wrote:
> The latest version of modinfo fails to compile score architecture
s/modinfo/modpost/
> targets with the following error.
>
> FATAL: The relocation at __ex_table+0x634 references
> section "__ex_table" which is not executable, IOW
> the kernel will fault if it ever tries to
> jump to it. Something is seriously wrong
> and should be fixed.
>
> The probem is caused by a bad label in an __ex_table entry.
>
> Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> This might be a candidate for -stable.
>
> arch/score/lib/string.S | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/score/lib/string.S b/arch/score/lib/string.S
> index 00b7d3a..16efa3a 100644
> --- a/arch/score/lib/string.S
> +++ b/arch/score/lib/string.S
> @@ -175,10 +175,10 @@ ENTRY(__clear_user)
> br r3
>
> .section .fixup, "ax"
> +99:
> br r3
> .previous
> .section __ex_table, "a"
> .align 2
> -99:
> .word 0b, 99b
> .previous
> --
> 2.1.0
>
prev parent reply other threads:[~2015-04-15 17:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-15 15:33 Guenter Roeck
2015-04-15 17:23 ` Guenter Roeck [this message]
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=20150415172334.GA22440@roeck-us.net \
--to=linux@roeck-us.net \
--cc=lennox.wu@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=liqin.linux@gmail.com \
--cc=quentin.casasnovas@oracle.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
all inboxes | Powered by JetHome®