• Cherry Zhang's avatar
    cmd/asm: rename R18 to R18_PLATFORM on ARM64 · 35c05542
    Cherry Zhang authored
    In ARM64 ABI, R18 is the "platform register", the use of which is
    OS specific. The OS could choose to reserve this register. In
    practice, it seems fine to use R18 on Linux but not on darwin (iOS).
    
    Rename R18 to R18_PLATFORM to prevent accidental use. There is no
    R18 usage within the standard library (besides tests, which are
    updated).
    
    Fixes #26110
    
    Change-Id: Icef7b9549e2049db1df307a0180a3c90a12d7a84
    Reviewed-on: https://go-review.googlesource.com/c/147218
    Run-TryBot: Cherry Zhang <cherryyz@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    35c05542
Name
Last commit
Last update
..
articles Loading commit data...
codewalk Loading commit data...
devel Loading commit data...
gopher Loading commit data...
play Loading commit data...
progs Loading commit data...
asm.html Loading commit data...
cmd.html Loading commit data...
code.html Loading commit data...
conduct.html Loading commit data...
contrib.html Loading commit data...
contribute.html Loading commit data...
debugging_with_gdb.html Loading commit data...
diagnostics.html Loading commit data...
docs.html Loading commit data...
editors.html Loading commit data...
effective_go.html Loading commit data...
gccgo_contribute.html Loading commit data...
gccgo_install.html Loading commit data...
go-logo-black.png Loading commit data...
go-logo-blue.png Loading commit data...
go-logo-white.png Loading commit data...
go1.1.html Loading commit data...
go1.10.html Loading commit data...
go1.11.html Loading commit data...
go1.12.html Loading commit data...
go1.2.html Loading commit data...
go1.3.html Loading commit data...
go1.4.html Loading commit data...
go1.5.html Loading commit data...
go1.6.html Loading commit data...
go1.7.html Loading commit data...
go1.8.html Loading commit data...
go1.9.html Loading commit data...
go1.html Loading commit data...
go1compat.html Loading commit data...
go_faq.html Loading commit data...
go_mem.html Loading commit data...
go_spec.html Loading commit data...
help.html Loading commit data...
ie.css Loading commit data...
install-source.html Loading commit data...
install.html Loading commit data...
root.html Loading commit data...
security.html Loading commit data...
share.png Loading commit data...
tos.html Loading commit data...