From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28335 invoked by alias); 21 Feb 2003 08:06:52 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 28322 invoked from network); 21 Feb 2003 08:06:52 -0000 Received: from unknown (HELO imag.imag.fr) (129.88.30.1) by 172.16.49.205 with SMTP; 21 Feb 2003 08:06:52 -0000 Received: from horus.imag.fr (horus.imag.fr [129.88.38.1]) by imag.imag.fr (8.12.7/8.12.7) with ESMTP id h1L85pZc024887; Fri, 21 Feb 2003 09:05:51 +0100 (CET) Received: from imag.fr (conque.imag.fr [129.88.38.148]) by horus.imag.fr (8.11.6/8.11.6/Imag.pm.V2) with ESMTP id h1L85pN07817; Fri, 21 Feb 2003 09:05:51 +0100 (MET) Message-ID: <3E55DE1B.3555D49F@imag.fr> Date: Fri, 21 Feb 2003 08:06:00 -0000 From: Pierre Habraken Organization: =?iso-8859-1?Q?Universit=E9?= Joseph Fourier X-Accept-Language: en MIME-Version: 1.0 To: gdb@sources.redhat.com, eCos Discussion Subject: Re: [ECOS] Can't connect to remote Evaluator 7T References: <20030219174138.A6E4578A6D@deneb.localdomain> <1045676870.18484.6026.camel@hermes.chez-thomas.org> <3E53C60E.6000305@eCosCentric.com> <20030219192255.962AE78A6D@deneb.localdomain> <3E54E606.D1FDC422@imag.fr> <1045751610.18487.7568.camel@hermes.chez-thomas.org> <3E54ED66.FB87A318@imag.fr> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2003-02/txt/msg00458.txt.bz2 Pierre Habraken wrote: > [...] > Ok. So, I have to re-link the program so that its location is at > 0x10000 or above. > But first I am going to learn how to tell ld what to do for obtaining > this result... Passing argument -Ttext 0x10000 to ld is ok : gdb uploads the program to the board with success. But now I am faced to a new problem : newlib (which is linked to my program), and especially the C run time sartup code, uses SWI calls to Angel (swi 0x00123456), which one has been replaced by Redboot ! Does anyone know how to tell newlib not to use Angel services ? Pierre -- ________________________________________________________________________ Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr T=E9l: 04 76 82 72 83 - Fax: 04 76 82 72 87 IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex ________________________________________________________________________