From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/binutils: fix loops relaxation in bare sections
Date: Wed, 17 Apr 2019 08:56:53 +0200 [thread overview]
Message-ID: <20190417085653.1b7cc5c2@windsurf> (raw)
In-Reply-To: <20190411205549.7259-1-jcmvbkbc@gmail.com>
On Thu, 11 Apr 2019 13:55:49 -0700
Max Filippov <jcmvbkbc@gmail.com> wrote:
> The commit 197b5f9d1c23 ("package/binutils: fix loops relaxation in
> xtensa gas") changed the way loop opcodes are relaxed resulting in build
> failures in hand-made assembly code that has loops in sections without
> .literal_position pseudo op or equivalent construct. This e.g. breaks
> xtensa linux kernel build.
>
> Fix that by adding literal position to the beginning of every section.
>
> Fixes: 197b5f9d1c23 ("package/binutils: fix loops relaxation in xtensa
> gas")
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
> ---
> ...as-put-.literal_position-at-section-start.patch | 96 ++++++++++++++++++++++
> ...as-put-.literal_position-at-section-start.patch | 96 ++++++++++++++++++++++
> 2 files changed, 192 insertions(+)
> create mode 100644 package/binutils/2.31.1/0017-xtensa-gas-put-.literal_position-at-section-start.patch
> create mode 100644 package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-04-17 6:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-11 20:55 [Buildroot] [PATCH] package/binutils: fix loops relaxation in bare sections Max Filippov
2019-04-17 6:56 ` Thomas Petazzoni [this message]
2019-04-24 20:32 ` Peter Korsgaard
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=20190417085653.1b7cc5c2@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.