From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22346 invoked by alias); 20 Dec 2005 21:08:58 -0000 Received: (qmail 22287 invoked by uid 22791); 20 Dec 2005 21:08:57 -0000 X-Spam-Check-By: sourceware.org Received: from e4.ny.us.ibm.com (HELO e4.ny.us.ibm.com) (32.97.182.144) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 20 Dec 2005 21:08:57 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e4.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id jBKL8sOf004555 for ; Tue, 20 Dec 2005 16:08:54 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id jBKL8su4077068 for ; Tue, 20 Dec 2005 16:08:54 -0500 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11/8.13.3) with ESMTP id jBKL8s3o007804 for ; Tue, 20 Dec 2005 16:08:54 -0500 Received: from [9.10.240.45] ([9.10.240.45]) by d01av02.pok.ibm.com (8.12.11/8.12.11) with ESMTP id jBKL8rPY007782; Tue, 20 Dec 2005 16:08:53 -0500 Message-ID: <43A88034.8090500@us.ibm.com> Date: Tue, 20 Dec 2005 21:08:00 -0000 From: Steven Munroe User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921 MIME-Version: 1.0 To: Ulrich Drepper CC: GNU libc hacker , Jakub Jelinek Subject: Re: things to do for arch maintainers References: <43A5B402.10007@redhat.com> In-Reply-To: <43A5B402.10007@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00032.txt.bz2 Ulrich Drepper wrote: > 1. on the setjmp code, make sure that for the code ending up inside > ld.so we don't call __sigjmp_save (see the x86, x86-64, ppc code) > > 2. add pointer_guard to tcbhead_t in > > 3. define THREAD_SET_POINTER_GUARD and THREAD_COPY_POINTER_GUARD in > > > 4. in , define PTR_MANGLE and PTR_DEMANGLE. The ld.so code > must use the global variable __pointer_chk_guard_local. The libc code > must use the tcbhead_t value. C and asm versions are needed. See the > x86-64 version > > > All needs to be done for archs other than x86 and x86-64 (although 1 > is done for ppc). > Jakub got to the powerpc change before I could finish testing my version. No problem with Jukub's quickness, but I notice that his version does not fill in the "#if defined NOT_IN_libc && defined IS_IN_rtld" case. While the X86_64 example does. Is this acceptable or should I try to fill in the code for this case? There are some difficulties with toc/got access before they are relocated, so this may be appropriate. But I wanted to verify that this omission is intended.