From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29160 invoked by alias); 17 Nov 2004 00:37:12 -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 29096 invoked from network); 17 Nov 2004 00:37:07 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 17 Nov 2004 00:37:07 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CUDom-0000CT-3C; Tue, 16 Nov 2004 19:37:04 -0500 Date: Wed, 17 Nov 2004 00:37:00 -0000 From: Daniel Jacobowitz To: Paul Brook Cc: binutils@sources.redhat.com Subject: Re: RFA: Support for Thumb in dynamic objects Message-ID: <20041117003704.GA723@nevyn.them.org> Mail-Followup-To: Paul Brook , binutils@sources.redhat.com References: <20041116233909.GA31434@nevyn.them.org> <200411170022.20918.paul@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200411170022.20918.paul@codesourcery.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-11/txt/msg00242.txt.bz2 On Wed, Nov 17, 2004 at 12:22:20AM +0000, Paul Brook wrote: > On Tuesday 16 November 2004 23:39, Daniel Jacobowitz wrote: > > +/* An initial stub used if the PLT entry is referenced from Thumb code. > >  */ +#define PLT_THUMB_STUB_SIZE 4 > > +static const bfd_vma elf32_arm_plt_thumb_stub [1] = > > +  { > > +    0x46c04778         /* bx pc; nop (in Thumb mode) */ > > +  }; > > Does this DTRT on big-endian targets? Probably not; I'd have to use 0x46c0, 0x4778 and two bfd_put16's. Thanks for catching that. -- Daniel Jacobowitz