diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2014-12-20 22:11:57 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2014-12-20 22:11:57 -0800 |
commit | 54ebdae37919bfaaa3f09cfc9d6982fc7528b53e (patch) | |
tree | f01ec4f30644c3118cc05b4f06cc9900f5076e6b /newlib | |
parent | e03c7c96b4f9c87034848679dafbc76131966932 (diff) | |
download | riscv-gnu-toolchain-54ebdae37919bfaaa3f09cfc9d6982fc7528b53e.zip riscv-gnu-toolchain-54ebdae37919bfaaa3f09cfc9d6982fc7528b53e.tar.gz riscv-gnu-toolchain-54ebdae37919bfaaa3f09cfc9d6982fc7528b53e.tar.bz2 |
binutils: rework jump pseudoisntruction
"jump" was renamed to "tail" (as in tail call) and may freely clobber a
t-register, as before. A new "jump" was added that requires a second
argument, which is the scratch register it may clobber.
"tail" should be used for tail calls; "jump" should be used for
intraprocedural jumps more than 1 MiB away.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libgloss/riscv/crt0.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libgloss/riscv/crt0.S b/newlib/libgloss/riscv/crt0.S index fda6ad2..9df641b 100644 --- a/newlib/libgloss/riscv/crt0.S +++ b/newlib/libgloss/riscv/crt0.S @@ -28,7 +28,7 @@ _start: addi a1, sp, _RISCV_SZPTR/8 # a1 = argv li a2, 0 # a2 = envp = NULL call main - jump exit + tail exit .global _init .global _fini |