From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92051 invoked by alias); 4 Jun 2018 14:38:17 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 92002 invoked by uid 89); 4 Jun 2018 14:38:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=preferably X-HELO: mx1.redhat.com Subject: Re: [RFC] powerpc: restore TOC when static longjmp to shared object To: Rogerio Alves , Alexander Monakov Cc: libc-alpha@sourceware.org References: <4c67a306-d447-1158-1b92-22ed1cfcfa0a@linux.vnet.ibm.com> <8ac334c6-bcf4-7c72-8d28-900fdd3b0bc4@linux.vnet.ibm.com> <2b5a4221-f766-0f57-1aa5-94991c4dfa8e@linux.vnet.ibm.com> <4de7760b-04a9-855c-34ac-1565c5532fb9@linux.vnet.ibm.com> From: Florian Weimer Message-ID: <90c62dd8-876c-81d9-c816-ede6882b8e70@redhat.com> Date: Mon, 04 Jun 2018 14:38:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <4de7760b-04a9-855c-34ac-1565c5532fb9@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2018-06/txt/msg00045.txt.bz2 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