linux-mips-fnet
[Top] [All Lists]

Re: gas + absolute addressing

To: Stefan Banach <banach@mailexpress.de>
Subject: Re: gas + absolute addressing
From: Ralf Baechle <ralf@uni-koblenz.de>
Date: Wed, 1 Nov 2000 22:21:11 +0100
Cc: linux-mips@fnet.fr
In-reply-to: <39FE7BFC.85B7C45B@mailexpress.de>; from banach@mailexpress.de on Tue, Oct 31, 2000 at 08:59:56AM +0100
References: <39FE7BFC.85B7C45B@mailexpress.de>
On Tue, Oct 31, 2000 at 08:59:56AM +0100, Stefan Banach wrote:

> I'm trying to get GAS to assemble the program it produces for a
> MIPS/ECOFF-architecture to an absolute offset other than the default one
> 
> (using binutils 2.9.1). The program must begin at address 0 because it
> must be executed at system bootup. The assembler insists to place the
> program at address a0012000:
> 
> ld: warning: cannot find entry symbol start; defaulting to a0012000
> 
> Do you have help? I didn't manage to set the "start" symbol...

You need to declare it a global symbol for the linker to find it.  Or
you use a linker option or script to declare a different entry point
than start.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>
  • Re: gas + absolute addressing, Ralf Baechle <=