Frame pointer - used to reference the function return state, and function
arguments. Optional.
Stack pointer - used to reference the function local variables. In the
absence of the frame pointer, this is also used to reference the function
return state and the function arguments.
As you can see, it has nothing to do with task switch mechanisms.
I suggest you revise your "pascal and gdb" and "task switch mechanism"
knowledge. I don't believe ARM is special in doing the above. In fact,
the above is probably very common indeed.
-- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/