On Mon, 2 Aug 1999, Ben Williamson wrote:
> On Wed, 29 Sep 1999, Adam 'WeirdArms' Wiggins wrote:
>
> > Its part of my own code (not linux). The instruction is:
> >
> > adr tmp0, fast_syscall_return
> >
> > tmp0 is a #define to a register, fast_syscall_return is a label in another
> > source file (doesn't matter if I make it local)
>
> I think it has to be local AND in the same section as the instruction, ie
> in the .text section. Otherwise the assembler can't figure out how far it
> is from the instruction to the label, and there's a good chance it will
> be too far anyway. Hope that helps,
Ah, ok, when i changed it to local I did change sections. Is there
anyway to get around the local restriction?
Cheers Adam
>
> - Ben.
>
> -------------------------------------------------------------------
> Ben Williamson [EMAIL PROTECTED] http://www.pobox.com/~benw/
>
>
>
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]