qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Max Filippov <jcmvbkbc@gmail.com>
Cc: qemu-devel@nongnu.org, Laurent Vivier <laurent@vivier.eu>,
	qemu-stable@nongnu.org
Subject: Re: [PATCH] linux-user: xtensa: fix signal delivery in FDPIC
Date: Sun, 12 Nov 2023 12:37:38 -0800	[thread overview]
Message-ID: <747930b5-f3d4-45d9-9e66-071ad2847996@linaro.org> (raw)
In-Reply-To: <CAMo8BfLfqUPrpTrBGnv3rEcyyKByqA-NCP2yP0PtUr9bhH98ZQ@mail.gmail.com>

On 11/12/23 09:02, Max Filippov wrote:
> On Sun, Nov 12, 2023 at 8:51 AM Richard Henderson
>> However, it does not handle the GOT register for the restorer, like we do on ARM.  That
>> said, I can't find any libc sources for xtensa, or at least that aren't out of date by a
> 
> It's WIP, available at https://github.com/jcmvbkbc/uclibc-ng-xtensa
> branch xtensa-1.0.44-fdpic
> 
>> decade, so I can't tell if libc *knows* the got register won't be loaded, and it doesn't
>> matter because it only uses the sigreturn syscall.
> 
> That's the case. AFAU the restorer field is not for public use and the function
> used as a restorer by the uclibc does not care about the GOT pointer.

Right-o, thanks for the pointer.


r~



      reply	other threads:[~2023-11-12 20:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-11 11:22 [PATCH] linux-user: xtensa: fix signal delivery in FDPIC Max Filippov
2023-11-12 16:51 ` Richard Henderson
2023-11-12 17:02   ` Max Filippov
2023-11-12 20:37     ` Richard Henderson [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=747930b5-f3d4-45d9-9e66-071ad2847996@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=jcmvbkbc@gmail.com \
    --cc=laurent@vivier.eu \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    /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;
as well as URLs for NNTP newsgroup(s).