Commit 56a137c8 authored by Andrew Waterman's avatar Andrew Waterman
Browse files

Don't accidentally clobber t0 in uaccess code

Previously, the "jump" assembly pseudoinstruction was used for both tail
calls and far intra-function jumps.  But "jump" may clobber a t-register,
which is inappropriate for the latter case.  The old "jump" was renamed
to "tail," which is now used for tail calls.  Now, "jump" takes a second
argument, which is the scratch register it may clobber.  This form is used
for far intra-function jumps.

This commit requires an updated compiler.
parent 91a415e5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment