> I relise that but isn't this a common thing in RISC chips and
>linkers/compilers use long jump?
What do you mean by "long jump"?
>> (Why do you want to do this in the first place, by the way?)
>>
> I have initialiseation an initialisation section and a kernel text
>section (both loadable segments) The initialisation section is mapped
>one-one at 0xC0100000 (on the SA-1100) and the text section is mapped to
>0xFFFF0000. I have debugging calls in the text section that I try to call
>from the init sectin (putc, printf, dumpPT, etc) but the 26bit branching
>gets in the way. I could use ASM macro's to make the calls but this seems
>abit messy, is there a nice solution to this problem. Another solution is
>to have the functions linked in both sections with different names but
>again I think this is a bit messy.
Well, -fPIC is the obvious solution if you can handle the overhead.
p.
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]