go/src/cmd/internal
Guoqi Chen 3ed8a1e629 cmd/internal/obj/loong64: save LR after decrementing SP
Refer to CL 413428 and 412474, for loong64, like mips, s390x and riscv, there
is no single instruction that saves the LR and decrements the SP, so we also
need to insert an instruction to save the LR after decrementing the SP.

Fixes #56623.
Updates #53374.

Change-Id: I3de040792f0a041d3d2a98ea89c23a2dd2f4ad10
Reviewed-on: https://go-review.googlesource.com/c/go/+/416154
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Cherry Mui <cherryyz@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: xiaodong liu <teaofmoli@gmail.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Meidan Li <limeidan@loongson.cn>
2023-03-28 05:41:44 +00:00
..
archive internal/testenv: avoid rebuilding all of std in WriteImportcfg 2023-02-02 19:27:33 +00:00
bio cmd/compile/internal/base, cmd/internal/bio: use syscall.Mmap on aix 2022-11-18 14:08:47 +00:00
browser
buildid debug/elf: suport files with >= 65280 (0xff00) sections 2022-09-27 16:50:30 +00:00
codesign
cov cmd/internal/cov: fix typo in readcovdata.go 2023-02-13 19:42:58 +00:00
dwarf cmd/compile,cmd/link: set DW_AT_decl_line for function declarations 2023-01-30 15:19:41 +00:00
edit
gcprog
goobj all: implement wasmimport directive 2023-03-02 05:28:55 +00:00
metadata cmd/dist, cmd/internal/metadata: don't install metadata binary 2022-06-10 20:39:12 +00:00
moddeps cmd/internal/moddeps: use testenv.Command instead of exec.Command in tests 2022-11-15 20:21:28 +00:00
notsha256 all: move //go: function directives directly above functions 2023-03-02 22:56:35 +00:00
obj cmd/internal/obj/loong64: save LR after decrementing SP 2023-03-28 05:41:44 +00:00
objabi Revert "cmd/link: establish dependable package initialization order" 2023-03-09 19:19:41 +00:00
objfile cmd/internal/objfile: read file/line information for ELF PIE binaries 2022-09-22 23:46:28 +00:00
osinfo cmd/internal/osinfo: report Node.js version 2023-01-19 22:43:17 +00:00
pkgpath cmd/internal/pkgpath: use MustHaveExec in TestToSymbolFunc 2022-09-27 18:26:59 +00:00
pkgpattern cmd: relocate search.MatchPattern to cmd/internal/pkgpattern 2022-09-27 16:43:40 +00:00
quoted all: append(bytes, str...) works out of the box 2022-08-23 21:04:06 +00:00
src all: fix problematic comments 2023-01-30 18:10:36 +00:00
sys cmd/internal/sys: migrate support.go functions to new internal pkg 2022-10-04 18:08:15 +00:00
test2json cmd/go: print test2json start events 2022-11-09 17:33:07 +00:00
traceviewer