All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: Max Filippov <jcmvbkbc@gmail.com>
Cc: Niklas Cassel <niklas.cassel@wdc.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/elf2flt: fix text relocations on xtensa
Date: Thu, 08 Dec 2022 10:55:11 +0100	[thread overview]
Message-ID: <874ju62pa8.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20221130021821.2660112-1-jcmvbkbc@gmail.com> (Max Filippov's message of "Tue, 29 Nov 2022 18:18:21 -0800")

>>>>> "Max" == Max Filippov <jcmvbkbc@gmail.com> writes:

 > elf2flt 2021.08 has changed endianness swapping logic for relocated
 > entries in the text segment. This broke little-endian xtensa FLAT images
 > which now fail to start with the following message:

 >   binfmt_flat: reloc outside program 0x24c80100 (0 - 0x6e430/0x56a20)

 > Fix it by restoring old endianness swapping logic for relocated entries
 > in the text segment when building for xtensa.

 > Reported-by: Niklas Cassel <niklas.cassel@wdc.com>
 > Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
 > ---
 > I've tested a couple other prominent candidates, but it looks like
 > only xtensa has this issue. I've submitted pull request to elf2flt
 > with the patch below.

Committed to 2022.08.x and 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      parent reply	other threads:[~2022-12-08  9:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-30  2:18 [Buildroot] [PATCH] package/elf2flt: fix text relocations on xtensa Max Filippov
2022-12-03 21:41 ` Yann E. MORIN
2022-12-08  9:55 ` Peter Korsgaard [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=874ju62pa8.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@buildroot.org \
    --cc=jcmvbkbc@gmail.com \
    --cc=niklas.cassel@wdc.com \
    --cc=thomas.petazzoni@bootlin.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 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.