[RFC] powerpc: restore TOC when static longjmp to shared object
Florian Weimer
fweimer@redhat.com
Mon Jun 4 14:38:00 GMT 2018
On 06/04/2018 04:34 PM, Rogerio Alves wrote:
> diff --git a/setjmp/tst-setjmp-bug21895-static.c b/setjmp/tst-setjmp-bug21895-static.c
> new file mode 100644
> index 0000000..6ab5340
> --- /dev/null
> +++ b/setjmp/tst-setjmp-bug21895-static.c
> + /* Destroy TOC area on caller frame. */
> + asm volatile(
> + "li 14, 0\n\t"
> + "std 14, 24(%0)"
> + :
> + : "r" (jb->__jmpbuf[20])
> + );
Sorry, this test is now very POWER-specific and needs to be moved into a
POWER sysdeps directory (preferably the most generic one where the test
is expected to be valid and pass).
Thanks,
Florian
More information about the Libc-alpha
mailing list