This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Assembler messages
- From: Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Shaun Jackman <sjackman at telus dot net>, binutils at sources dot redhat dot com
- Date: Thu, 10 Jun 2004 16:49:12 +0100
- Subject: Re: Assembler messages
- References: <200406091627.16451.sjackman@telus.net> <40C87369.9060701@redhat.com>
On Thu, 2004-06-10 at 15:42, Nick Clifton wrote:
> Hi Shaun,
>
> > ../../arch-at91/syscall_handler.S: Assembler messages:
> > ../../arch-at91/syscall_handler.S:25: Error: internal_relocation
> > (type: OFFSET_IMM) not fixed up
> >
> > ... and line 25 says...
> > ldr lr, syscall_lr
> >
> > ... which I think means that syscall_lr is out of range. So if I'm
> > correct, my wish-list item requests that this error message state why
> > the fix-up failed (presumably because this memory address is out of
> > range), what the range is, and by what amount the range was exceeded.
>
> Please feel free to submit a patch that does this.
Err, I think in this case it was expecting syscall_lr to be an assembly
time literal. If the literal isn't found then you'll get the cited
message.