From: "Steven J. Hill" <Steven.Hill@imgtec.com>
To: "Maciej W. Rozycki" <macro@codesourcery.com>
Cc: <linux-mips@linux-mips.org>
Subject: Re: [PATCH 6/7] MIPS: Apply `.insn' to fixup labels throughout
Date: Mon, 17 Nov 2014 10:38:39 -0600 [thread overview]
Message-ID: <546A248F.4040604@imgtec.com> (raw)
In-Reply-To: <alpine.DEB.1.10.1411152139430.2881@tp.orcam.me.uk>
On 11/15/2014 04:09 PM, Maciej W. Rozycki wrote:
> Fix the issue with the ISA bit being lost in fixups that jump to
> labels placed just before a section switch. Such a switch leads to
> the ISA bit being lost, because GAS concludes there is no code that
> follows and therefore the label refers to data. Use the `.insn'
> pseudo-op to convince the tool this is not the case.
>
> This lack of label annotation leads to microMIPS compilation errors
> like:
>
> mips-linux-gnu-ld: arch/mips/built-in.o: .fixup+0x3b8: Unsupported
> jump between ISA modes; consider recompiling with interlinking
> enabled. mips-linux-gnu-ld: final link failed: Bad value
>
> Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com> --- Hi,
>
> I see someone has just fixed this issue in one place, so I had to
> regenerate the change I originally made against 3.17, but I really
> fail to see why not to fix it throughout at once.
>
In our earlier branches I believe all of the '.insn' pseudo-ops were in
place. I remember removing a number of them during release testing since
they appeared to not make any difference. It appears that use of
different toolchains has shown that to be in error.
Steve
Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
WARNING: multiple messages have this Message-ID (diff)
From: "Steven J. Hill" <Steven.Hill@imgtec.com>
To: "Maciej W. Rozycki" <macro@codesourcery.com>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH 6/7] MIPS: Apply `.insn' to fixup labels throughout
Date: Mon, 17 Nov 2014 10:38:39 -0600 [thread overview]
Message-ID: <546A248F.4040604@imgtec.com> (raw)
Message-ID: <20141117163839.aDxxsVSxGG1dG51nMhfF_zFgZVDpct1xizAAy5fd8Vc@z> (raw)
In-Reply-To: <alpine.DEB.1.10.1411152139430.2881@tp.orcam.me.uk>
On 11/15/2014 04:09 PM, Maciej W. Rozycki wrote:
> Fix the issue with the ISA bit being lost in fixups that jump to
> labels placed just before a section switch. Such a switch leads to
> the ISA bit being lost, because GAS concludes there is no code that
> follows and therefore the label refers to data. Use the `.insn'
> pseudo-op to convince the tool this is not the case.
>
> This lack of label annotation leads to microMIPS compilation errors
> like:
>
> mips-linux-gnu-ld: arch/mips/built-in.o: .fixup+0x3b8: Unsupported
> jump between ISA modes; consider recompiling with interlinking
> enabled. mips-linux-gnu-ld: final link failed: Bad value
>
> Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com> --- Hi,
>
> I see someone has just fixed this issue in one place, so I had to
> regenerate the change I originally made against 3.17, but I really
> fail to see why not to fix it throughout at once.
>
In our earlier branches I believe all of the '.insn' pseudo-ops were in
place. I remember removing a number of them during release testing since
they appeared to not make any difference. It appears that use of
different toolchains has shown that to be in error.
Steve
Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
next prev parent reply other threads:[~2014-11-17 16:39 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-15 22:06 [PATCH 0/7] MIPS: Assorted microMIPS fixes Maciej W. Rozycki
2014-11-15 22:06 ` Maciej W. Rozycki
2014-11-15 22:07 ` [PATCH 1/7] MIPS: Kconfig: Enable microMIPS support for Malta Maciej W. Rozycki
2014-11-15 22:07 ` Maciej W. Rozycki
2014-11-17 16:38 ` Steven J. Hill
2014-11-17 16:38 ` Steven J. Hill
2014-11-15 22:07 ` [PATCH 2/7] MIPS: mm: Only build one microassembler that is suitable Maciej W. Rozycki
2014-11-15 22:07 ` Maciej W. Rozycki
2014-11-15 22:08 ` [PATCH 3/7] MIPS: signal.c: Fix an invalid cast in ISA mode bit handling Maciej W. Rozycki
2014-11-15 22:08 ` Maciej W. Rozycki
2014-11-15 22:08 ` [PATCH 4/7] MIPS: Kconfig: Only allow 32-bit microMIPS builds Maciej W. Rozycki
2014-11-15 22:08 ` Maciej W. Rozycki
2014-11-15 22:08 ` [PATCH 5/7] MIPS: Fix microMIPS LL/SC immediate offsets Maciej W. Rozycki
2014-11-15 22:08 ` Maciej W. Rozycki
2014-11-17 16:38 ` Steven J. Hill
2014-11-17 16:38 ` Steven J. Hill
2014-11-15 22:09 ` [PATCH 6/7] MIPS: Apply `.insn' to fixup labels throughout Maciej W. Rozycki
2014-11-15 22:09 ` Maciej W. Rozycki
2014-11-17 16:38 ` Steven J. Hill [this message]
2014-11-17 16:38 ` Steven J. Hill
2014-11-17 16:57 ` Maciej W. Rozycki
2014-11-17 16:57 ` Maciej W. Rozycki
2014-11-15 22:09 ` [PATCH 7/7] MIPS: atomic.h: Reformat to fit in 79 columns Maciej W. Rozycki
2014-11-15 22:09 ` Maciej W. Rozycki
2014-11-17 16:37 ` [PATCH 0/7] MIPS: Assorted microMIPS fixes Steven J. Hill
2014-11-17 16:37 ` Steven J. Hill
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=546A248F.4040604@imgtec.com \
--to=steven.hill@imgtec.com \
--cc=linux-mips@linux-mips.org \
--cc=macro@codesourcery.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