[RFC] powerpc: restore TOC when static longjmp to shared object
Rogerio Alves
rcardoso@linux.vnet.ibm.com
Thu Jun 21 19:14:00 GMT 2018
Hi Florian,
I've make the changes you asked for. Thank you for your review. Patch v4
is attached.
Regards
Em 04-06-2018 11:38, Florian Weimer escreveu:
> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-powerpc-Always-restore-TOC-on-longjmp.patch
Type: text/x-patch
Size: 7995 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20180621/3c1edf32/attachment.bin>
More information about the Libc-alpha
mailing list