golang/src/cmd/link/internal
Cherry Mui 5c7d774538 cmd/link: propagate FromAssembly attribute when cloning symbols to external
When a symbol is cloned to external (in order to edit it),
propagate the FromAssembly attribute, so the linker knows it is
(originally) an assembly symbol, and can treat it specially (e.g.
for stack maps).

This should fix the Linux/RISCV64 builder.

Change-Id: Icc956bcc43b79f328983a60835b05fd50f22326a
Reviewed-on: https://go-review.googlesource.com/c/go/+/587926
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
2024-05-24 20:26:10 +00:00
..
amd64 cmd/link: round up default start address to alignment 2023-09-13 19:32:19 +00:00
arm cmd/link: round up default start address to alignment 2023-09-13 19:32:19 +00:00
arm64 all: fix typos 2024-01-30 20:09:45 +00:00
benchmark all: fix problematic comments 2023-01-30 18:10:36 +00:00
dwtest cmd/link/internal/dwtest: fix inconsistent receiver name 2024-02-02 15:22:18 +00:00
ld cmd/link/internal/ld: rewrite LC_UUID for darwin external links 2024-05-21 18:45:27 +00:00
loadelf cmd/link: replace function pointers to static calls in loadelf 2024-02-16 15:12:12 +00:00
loader cmd/link: propagate FromAssembly attribute when cloning symbols to external 2024-05-24 20:26:10 +00:00
loadmacho cmd/link: remove name expansion logic 2022-05-12 18:45:57 +00:00
loadpe cmd/link/internal/loadpe: update comment about @feat.00 symbol handling 2023-12-18 20:26:46 +00:00
loadxcoff all: remove newline characters after return statements 2023-12-14 17:22:18 +00:00
loong64 cmd/link/internal/loong64: correct the musl dynamic linker path 2024-05-23 18:50:04 +00:00
mips all: remove newline characters after return statements 2023-12-14 17:22:18 +00:00
mips64 cmd/link: round up default start address to alignment 2023-09-13 19:32:19 +00:00
ppc64 cmd/internal/obj/ppc64: don't modify runtime.elf_* symbols 2024-03-19 20:54:08 +00:00
riscv64 cmd/link/internal/riscv64: generate local text symbols for R_RISCV_CALL 2024-03-01 08:06:08 +00:00
s390x cmd/link: round up default start address to alignment 2023-09-13 19:32:19 +00:00
sym cmd/link: move .dynamic and .got sections to relro if applicable 2024-04-22 13:29:54 +00:00
wasm cmd/link,runtime: merge minfunc const info internal/abi 2024-01-22 16:17:48 +00:00
x86 cmd/link: round up default start address to alignment 2023-09-13 19:32:19 +00:00