[Top] [All Lists]

Re: gas + absolute addressing

To: Stefan Banach <>
Subject: Re: gas + absolute addressing
From: Ralf Baechle <>
Date: Wed, 1 Nov 2000 22:21:11 +0100
In-reply-to: <>; from on Tue, Oct 31, 2000 at 08:59:56AM +0100
References: <>
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.


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