From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19850 invoked by alias); 11 Apr 2005 17:40:40 -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 19801 invoked from network); 11 Apr 2005 17:40:34 -0000 Received: from unknown (HELO rwcrmhc13.comcast.net) (204.127.198.39) by sourceware.org with SMTP; 11 Apr 2005 17:40:34 -0000 Received: from lucon.org ([24.6.212.230]) by comcast.net (rwcrmhc13) with ESMTP id <2005041117403301500b8o02e>; Mon, 11 Apr 2005 17:40:33 +0000 Received: by lucon.org (Postfix, from userid 1000) id 897CA63D5D; Mon, 11 Apr 2005 10:40:33 -0700 (PDT) Date: Mon, 11 Apr 2005 17:40:00 -0000 From: "H. J. Lu" To: Bob Wilson Cc: binutils@sources.redhat.com Subject: Re: PATCH: Support 64bit BFD and 64bit host for xtensa Message-ID: <20050411174033.GB17706@lucon.org> References: <20050409204835.GA1319@lucon.org> <20050410163925.GB28734@lucon.org> <425AAC0A.6060403@tensilica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <425AAC0A.6060403@tensilica.com> User-Agent: Mutt/1.4.1i X-SW-Source: 2005-04/txt/msg00245.txt.bz2 On Mon, Apr 11, 2005 at 09:55:38AM -0700, Wilson; Bob, Tensillca wrote: > H. J. Lu wrote: > >On Sat, Apr 09, 2005 at 01:48:35PM -0700, H. J. Lu wrote: > > > >>m68k and xtensa are failed to build with --enable-64-bit-bfd. This > >>patch fixes it. > > This part is OK with me. > > > >It turns out that xtensa doesn't support 64bit BFD on 32bit host > >nor 64bit host. xtensa passes pointer as int to frag_variant, where > >it is stored as offsetT. This patch changes int to long. > > This doesn't seem like the right solution. I'd rather not be casting > pointers to integers, even if the integer is big enough. Let me see if I > can find a way to avoid storing pointers in the frag's fr_var field. > I will leave xtensa to you. You can pick my xtensa patch if you want. H.J.