From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10409 invoked by alias); 12 Nov 2004 10:03:38 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 10281 invoked from network); 12 Nov 2004 10:03:23 -0000 Received: from unknown (HELO cam-admin0.cambridge.arm.com) (193.131.176.58) by sourceware.org with SMTP; 12 Nov 2004 10:03:23 -0000 Received: from pc960.cambridge.arm.com (pc960.cambridge.arm.com [10.1.205.4]) by cam-admin0.cambridge.arm.com (8.12.10/8.12.10) with ESMTP id iACA2Yso025586; Fri, 12 Nov 2004 10:02:34 GMT Received: from pc960.cambridge.arm.com (localhost.localdomain [127.0.0.1]) by pc960.cambridge.arm.com (8.12.8/8.12.8) with ESMTP id iACA3EgK008560; Fri, 12 Nov 2004 10:03:14 GMT Received: (from rearnsha@localhost) by pc960.cambridge.arm.com (8.12.8/8.12.8/Submit) id iACA3Ers008558; Fri, 12 Nov 2004 10:03:14 GMT X-Authentication-Warning: pc960.cambridge.arm.com: rearnsha set sender to rearnsha@gcc.gnu.org using -f Subject: Re: [arm] Resolve R_ARM_PREL31 From: Richard Earnshaw To: Paul Brook Cc: binutils@sources.redhat.com In-Reply-To: <200411120941.07992.paul@codesourcery.com> References: <200411120941.07992.paul@codesourcery.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: GNU Message-Id: <1100253794.19841.98.camel@pc960.cambridge.arm.com> Mime-Version: 1.0 Date: Fri, 12 Nov 2004 10:03:00 -0000 X-SW-Source: 2004-11/txt/msg00203.txt.bz2 On Fri, 2004-11-12 at 09:41, Paul Brook wrote: > The R_ARM_PREL31 relocation should be resolved to the PTL entry for external > symbols, and not written into shared objects. Patch below implements this. > > Tested with cross to arm-none-eabi, and light testing on arm-none-symbianelf. > Ok? > > 2004-11-11 Paul Brook > > * bfd/elf32-arm.c (elf32_arm_final_link_relocate): Resolve > R_ARM_PREL31 relocations to PLT entries. > (elf32_arm_relocate_section, elf32_arm_gc_sweep_hook): Ditto. > (elf32_arm_check_relocs): Ditto. OK. R.