1
0
mirror of https://github.com/golang/go synced 2024-11-26 05:48:05 -07:00
go/api/next
Guoqi Chen 39d3c4ad35 debug/elf,cmd/link: add additional relocations for loong64
The Linker Relaxation feature on Loong64 is already supported in binutils 2.41.
The intermediate code generated after enabling this feature introduces three
reloc types R_LARCH_B26, R_LARCH_ADD32 and R_LARCH_SUB32.

The other relocation types are not currently used when running all.bash, but
in order to avoid the host tool chain making the decision to use it we don't
have to catch it every time.

The LoongArch ABI at here:
https://github.com/loongson/la-abi-specs/blob/release/la-abi.adoc

Corresponding binutils implementation:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=be1ebb6710a8f707bd4b0eecbd00f4f4964050e5
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=1b6fccd28db14fffe75ff6755307047ef932c81e

Fixes #63725

Change-Id: I891115cfdbcf785ab494c881d5f9d1bf8748da8b
Reviewed-on: https://go-review.googlesource.com/c/go/+/537615
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Meidan Li <limeidan@loongson.cn>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-11-02 19:46:03 +00:00
..
50102.txt archive/tar: add FileInfoNames interface 2023-08-07 00:25:25 +00:00
51246.txt syscall: add support to get pidfd from ForkExec on Linux 2023-09-07 19:11:15 +00:00
51971.txt net/http: add ServeFileFS, FileServerFS, NewFileTransportFS 2023-08-07 17:07:12 +00:00
53693.txt encoding: add AppendEncode and AppendDecode 2023-08-17 16:23:42 +00:00
54898.txt archive/zip: add AddFS method to zip Writer 2023-07-31 18:10:41 +00:00
56353.txt slices: add Concat 2023-08-08 14:31:39 +00:00
58000.txt archive/tar: add AddFS method to Writer 2023-09-13 13:59:01 +00:00
59599.txt reflect: deprecate PtrTo 2023-07-27 23:28:51 +00:00
60061.txt go/ast: add Unparen(Expr) helper 2023-07-20 20:19:51 +00:00
60088.txt reflect: add TypeFor 2023-07-31 15:50:15 +00:00
60204.txt cmp: add Or 2023-09-25 14:30:20 +00:00
60370.txt database/sql: add Null[T] 2023-08-07 14:26:37 +00:00
60665.txt crypto/x509: add new OID type and use it in Certificate 2023-10-31 19:22:19 +00:00
61410.txt net/http: implement path value methods on Request 2023-09-14 00:00:28 +00:00
61619.txt html/template: support parsing complex JS template literals 2023-10-02 15:18:39 +00:00
61642.txt net/netip: add AddrPort.Compare and Prefix.Compare 2023-09-11 20:26:41 +00:00
61716.txt math/rand/v2: delete Mitchell/Reeds source 2023-10-30 17:09:26 +00:00
61758.txt testing/slogtest: add Run to run cases as subtests 2023-09-08 20:37:12 +00:00
61870.txt io: add (*SectionReader).Outer() 2023-10-09 22:04:41 +00:00
61974.txt debug/elf,cmd/link: add additional MIPS64 relocation type 2023-09-08 04:32:10 +00:00
63725.txt debug/elf,cmd/link: add additional relocations for loong64 2023-11-02 19:46:03 +00:00