From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7061 invoked by alias); 2 Mar 2006 04:42:02 -0000 Received: (qmail 7045 invoked by uid 22791); 2 Mar 2006 04:42:02 -0000 X-Spam-Check-By: sourceware.org Received: from gateway.sf.frob.com (HELO gateway.sf.frob.com) (64.81.54.130) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 02 Mar 2006 04:41:59 +0000 Received: from magilla.sf.frob.com (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id 437A2357B; Wed, 1 Mar 2006 20:41:54 -0800 (PST) Received: by magilla.sf.frob.com (Postfix, from userid 5281) id 191FB180B1B; Wed, 1 Mar 2006 20:41:54 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: "David S. Miller" Cc: libc-hacker@sources.redhat.com Subject: Re: check-textrel In-Reply-To: David S. Miller's message of Wednesday, 1 March 2006 20:12:00 -0800 <20060301.201200.62138935.davem@davemloft.net> X-Windows: a terminal disease. Message-Id: <20060302044154.191FB180B1B@magilla.sf.frob.com> Date: Thu, 02 Mar 2006 04:42:00 -0000 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: 2006-03/txt/msg00012.txt.bz2 > I just noticed the elf/check-textrel test is failing on > sparc. It complains because the third segment of all the > shared objects are writable and executable. > > This turns out to be the .tdata section. > > LOAD off 0x0014e478 vaddr 0x0015e478 paddr 0x0015e478 align 2**16 > filesz 0x00004984 memsz 0x00007268 flags rwx > ... > 17 .tdata 00000008 0015e478 0015e478 0014e478 2**2 > CONTENTS, ALLOC, LOAD, DATA, THREAD_LOCAL > > Probably some binutils issue? That should be PT_TLS, not PT_LOAD.