mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.link] cmd/link: move asmb2 plan 9 architecture code out of architectures
Change-Id: I7a8f8edc4511e3ae0c44ec5017167f14d4c60755 Reviewed-on: https://go-review.googlesource.com/c/go/+/234891 Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
parent
13c1401b8e
commit
ebdb15f7f8
8 changed files with 44 additions and 106 deletions
|
|
@ -195,6 +195,10 @@ type Arch struct {
|
|||
// Set to true to write all text blocks in with CodeBlkWrite
|
||||
WriteTextBlocks bool
|
||||
|
||||
// Plan 9 variables.
|
||||
Plan9Magic uint32
|
||||
Plan9_64Bit bool
|
||||
|
||||
Adddynrel func(*Target, *loader.Loader, *ArchSyms, loader.Sym, loader.Reloc2, int) bool
|
||||
Archinit func(*Link)
|
||||
// Archreloc is an arch-specific hook that assists in relocation processing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue