From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21891 invoked by alias); 18 May 2006 21:51:27 -0000 Received: (qmail 21854 invoked by uid 22791); 18 May 2006 21:51:25 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 18 May 2006 21:51:23 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FgqOv-0004jq-GL for binutils@sourceware.org; Thu, 18 May 2006 17:51:21 -0400 Date: Fri, 19 May 2006 00:50:00 -0000 From: Daniel Jacobowitz To: binutils@sourceware.org Subject: Re: MIPS textrel fix Message-ID: <20060518215121.GA18189@nevyn.them.org> Mail-Followup-To: binutils@sourceware.org References: <20060518213149.GA14720@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060518213149.GA14720@nevyn.them.org> User-Agent: Mutt/1.5.11+cvs20060403 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00318.txt.bz2 On Thu, May 18, 2006 at 05:31:49PM -0400, Daniel Jacobowitz wrote: > 2006-05-18 Daniel Jacobowitz > > * elflink.c (_bfd_elf_add_dynamic_entry): Remove DT_TEXTREL > check. > (bfd_elf_final_link): Add a late DT_TEXTREL check. > * elfxx-mips.c (MIPS_ELF_READONLY_SECTION): Define. > (mips_elf_create_dynamic_relocation): Set DF_TEXTREL. > (_bfd_mips_elf_check_relocs): Delete MIPS_READONLY_SECTION. > Use MIPS_ELF_READONLY_SECTION. > (_bfd_mips_elf_size_dynamic_sections): Clear DF_TEXTREL after > creating DT_TEXTREL. > (_bfd_mips_elf_finish_dynamic_sections): Clear textrel markers > if no text relocations were generated. Oh, there's a textrel-1.d part of this patch too; the test bitrotted while it was failing. That part is obvious. -- Daniel Jacobowitz CodeSourcery