From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14531 invoked by alias); 24 Feb 2005 16:45:02 -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 14454 invoked from network); 24 Feb 2005 16:44:55 -0000 Received: from unknown (HELO mail.wrs.com) (147.11.1.11) by sourceware.org with SMTP; 24 Feb 2005 16:44:55 -0000 Received: from ala-mail04.corp.ad.wrs.com (ala-mail04 [147.11.57.145]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id IAA02336; Thu, 24 Feb 2005 08:44:52 -0800 (PST) Received: from lul-mail03.corp.ad.wrs.com ([147.11.74.23]) by ala-mail04.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 24 Feb 2005 08:44:53 -0800 Received: from [147.11.80.21] ([147.11.80.21]) by lul-mail03.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.0); Thu, 24 Feb 2005 17:44:50 +0100 Message-ID: <421E0482.3070307@windriver.com> Date: Thu, 24 Feb 2005 17:46:00 -0000 From: Vincent Rubiolo User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) MIME-Version: 1.0 To: Richard Earnshaw CC: Lars Olsson , binutils@sourceware.org Subject: Re: arm-elf-ld: problems with long calls in thumb mode References: <1109241545.2361.12.camel@pc960.cambridge.arm.com> In-Reply-To: <1109241545.2361.12.camel@pc960.cambridge.arm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Feb 2005 16:44:50.0941 (UTC) FILETIME=[28A482D0:01C51A90] X-SW-Source: 2005-02/txt/msg00597.txt.bz2 Hello, I encountered the problem before and Nick was kind enough to direct me to an experimental patch (which worked for me at the time). This involves patching and rebuilding gcc. YMMV as this is quite old but this may work. Here is the corresponding binutils discussion (some time has passed obviously, Richard was still working for ARM :) http://sources.redhat.com/ml/binutils/2003-06/msg00412.html HTH, Vincent Richard Earnshaw wrote: [...] > This is gcc PR target/7525. It's been fixed for gcc-4 for other > reasons, but it's not going to get back-ported onto any older compilers > since it doesn't fix a regression. You can try using the trunk > compiler, or you could try and back-port the change yourself if you > wished, but it might require some adjustment to work with the older > code. > > R. -- Reclaim Your Inbox! http://internal.vannes.wrsec.fr/twiki/bin/view/Utilities/MailThunderbird