aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2014-12-20 22:11:57 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2014-12-20 22:11:57 -0800
commit54ebdae37919bfaaa3f09cfc9d6982fc7528b53e (patch)
treef01ec4f30644c3118cc05b4f06cc9900f5076e6b /newlib
parente03c7c96b4f9c87034848679dafbc76131966932 (diff)
downloadriscv-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.S2
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