>       Isn't long jump a gcc function used to make cals to functions
>further away then the branch inst allows? 

Not as far as I know.  If you're thinking of __builtin_longjmp this is 
something rather different.

There isn't a great deal the compiler can do to help, because it doesn't know 
where each bit of code will end up in the final program image so it has no way 
of telling which branches will need a "far" jump instruction.  This is why 
it's really a job for the linker to fix things up.  Would probably make an 
interesting project for someone who wanted to get familiar with BFD.

p.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to