package
1.22.2
Repository: https://github.com/go-asm/go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
AddMachoSym adds s to Mach-O symbol table, used in GenSymLate.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Used only on Wasm for now.
Initialize the global variable that describes the ELF header.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Errorf logs an error message.
Exit exits with code after executing all atExitFuncs.
Exitf logs an error message then calls Exit(2).
ExtrelocSimple creates a simple external relocation from r, with the same symbol and addend.
ExtrelocViaOuterSym creates an external relocation from r targeting the outer symbol and folding the subsymbol's offset into the addend.
FoldSubSymbolOffset computes the offset of symbol s to its top-level outer symbol.
No description provided by the author
Create loader section and returns its size.
No description provided by the author
No description provided by the author
Main is the main entry point for the linker code.
No description provided by the author
No description provided by the author
PrepareAddmoduledata returns a symbol builder that target-specific code can use to build up the linker-generated go.link.addmoduledata function, along with the sym for runtime.addmoduledata itself.
No description provided by the author
Xcoffadddynrel adds a dynamic relocation in a XCOFF file.
Xcoffinit initialised some internal value and setups already known header information.

# Constants

Headers size.
Headers size.
* Relocation types.
No description provided by the author
No description provided by the author
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
bind table opcode.
No description provided by the author
synthesizemaptypes is way too closely married to runtime/hashmap.c.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Beginning of common block.
Beginning of include file.
Beginning or end of inner block.
Beginning of static block.
Declaration of object.
DWARF symbol.
Local member of common block.
End of common block.
End of include file.
C_ENTRY
Alternate entry.
End of static block.
External symbol.
Beginning or end of function.
Source file name and compiler information.
Function or procedure.
Global variable.
Global thread-local variable.
Unnamed external symbol.
Automatic variable allocated on stack.
Symbol table entry marked for deletion.
Argument to subroutine allocated on stack.
Argument to function or procedure stored in register.
Register variable.
Static symbol.
Statically allocated symbol.
Static thread-local variable.
Weak external symbol.
No description provided by the author
No description provided by the author
Deleted auto (not a real sym, just placeholder for type).
Build info note.
Build info note.
FreeBSD Signature (as per sys/elf_common.h).
FreeBSD Signature (as per sys/elf_common.h).
FreeBSD Signature (as per sys/elf_common.h).
FreeBSD Signature (as per sys/elf_common.h).
No description provided by the author
FreeBSD Signature (as per sys/elf_common.h).
FreeBSD Signature (as per sys/elf_common.h).
12.3-RELEASE.
Go specific notes.
Go specific notes.
Go specific notes.
Go specific notes.
NetBSD Signature (as per sys/exec_elf.h).
NetBSD Signature (as per sys/exec_elf.h).
NetBSD Signature (as per sys/exec_elf.h).
NetBSD 7.0 */.
OpenBSD Signature.
OpenBSD Signature.
OpenBSD Signature.
OpenBSD Signature.
* Go linker interface */.
* Go linker interface */.
* Go linker interface */.
* Go linker interface */.
* Go linker interface */.
* Go linker interface */.
* Go linker interface */.
* Go linker interface */.
* Go linker interface */.
* Go linker interface */.
* Go linker interface */.
* Total amount of space to reserve at the start of the file * for Header, PHeaders, SHeaders, and interp.
Flags that describe the type of the object file.
Flags that describe the type of the object file.
Flags that describe the type of the object file.
Flags that describe the type of the object file.
Flags that describe the type of the object file.
Flags that describe the type of the object file.
Flags that describe the type of the object file.
Flags that describe the type of the object file.
Flags that describe the type of the object file.
Flags that describe the type of the object file.
Headers size.
Headers size.
No description provided by the author
https://sourceware.org/gdb/onlinedocs/gdb/dotdebug_005fgdb_005fscripts-section.html Each entry inside .debug_gdb_scripts section begins with a non-null prefix byte that specifies the kind of entry.
https://sourceware.org/gdb/onlinedocs/gdb/dotdebug_005fgdb_005fscripts-section.html Each entry inside .debug_gdb_scripts section begins with a non-null prefix byte that specifies the kind of entry.
https://sourceware.org/gdb/onlinedocs/gdb/dotdebug_005fgdb_005fscripts-section.html Each entry inside .debug_gdb_scripts section begins with a non-null prefix byte that specifies the kind of entry.
https://sourceware.org/gdb/onlinedocs/gdb/dotdebug_005fgdb_005fscripts-section.html Each entry inside .debug_gdb_scripts section begins with a non-null prefix byte that specifies the kind of entry.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format.
* Total amount of space to reserve at the start of the file * for Header, PHeaders, and SHeaders.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Headers size.
Headers size.
Headers size.
* Generate a sequence of opcodes that is as short as possible.
* Generate a sequence of opcodes that is as short as possible.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
synthesizemaptypes is way too closely married to runtime/hashmap.c.
synthesizemaptypes is way too closely married to runtime/hashmap.c.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
minimum size for a function.
FP code in the module uses the FP32 ABI for a 32-bit ABI.
FP code in the module uses the FP64 ABI.
FP code in the module uses the FP64A ABI.
FP code in the module uses the FPXX ABI.
FP code in the module assumes an FPU with FR=1 and has 12 callee-saved doubles.
No floating point is present in the module (default).
FP code in the module only uses single precision ABI.
FP code in the module uses soft-float ABI.
No description provided by the author
Nscnum.
No description provided by the author
No description provided by the author
* We use the 64-bit data structures on both 32- and 64-bit machines * in order to write the code just once.
No description provided by the author
* Generate a sequence of opcodes that is as short as possible.
No description provided by the author
* Generate a sequence of opcodes that is as short as possible.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
rebase table opcode.
rebase table opcode.
rebase table opcode.
rebase table opcode.
rebase table opcode.
rebase table opcode.
rebase table opcode.
rebase table opcode.
rebase table opcode.
rebase table opcode.
rebase table opcode.
rebase table opcode.
rebase table opcode.
rebase table opcode.
Headers size.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Headers size.
Headers size.
DWARF abbreviation section.
DWARF aranges section.
DWARF frames section.
DWARF info section.
DWARF line-number section.
DWARF location lists section.
DWARF macros section.
DWARF public names section.
DWARF public types section.
DWARF ranges section.
DWARF strings section.
Flags defining the section type.
Flags defining the section type.
Flags defining the section type.
Flags defining the section type.
Flags defining the section type.
Flags defining the section type.
Flags defining the section type.
Flags defining the section type.
Flags defining the section type.
Flags defining the section type.
Flags defining the section type.
Flags defining the section type.
No description provided by the author
No description provided by the author
is function.
No description provided by the author
No description provided by the author
Ntype.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
see also https://9p.io/magic/man2html/1/nm.
No description provided by the author
AIX 64-bit XCOFF.
No description provided by the author
A(sym) Branch absolute.
A(sym-*) Branch rel to self.
A(external TOC of sym) Global Linkage.
-A(sym) Negative Relocation.
A(sym) Positive Relocation.
A(sym) Branch absolute.
A(sym-*) Branch rel to self.
AL0(sym) Non relocating ref.
A(sym-*) Relative to self.
A(sym) Pos indirect load.
A(sym) Pos Load Address.
A(local TOC of sym) Local object TOC address.
General-dynamic reference to TLS symbol.
Initial-exec reference to TLS symbol.
Local-dynamic reference to TLS symbol.
Local-exec reference to TLS symbol.
Module reference to TLS symbol.
Module reference to local (own) module.
A(sym-TOC) Relative to TOC.
Relative to TOC - low order bits.
Relative to TOC - high order bits.
A(sym-TOC) TOC Relative indirect load.
A(sym-TOC) TOC Rel load address.
Start of data address.
Total amount of space to reserve at the start of the file for File Header, Auxiliary Header, and Section Headers.
base on dump -o, then rounded from 32B to 64B to match worst case elf text section alignment on ppc64.
Start of text address.
Compiler Defined Information/.
Compile Time Stamp.
Compiler Version Number.
Source File Name.
BSS class.
Debug dictionary table.
Function descriptor.
Global linkage.
Program code.
Read-only constant.
Read/Write data.
32-bit supervisor call descriptor.
Supervisor call descriptor for both 32-bit and 64-bit.
64-bit supervisor call descriptor.
TOC entry.
TOC anchor.
Scalar data entry in the TOC.
TOC entry.
Read/Write thread-local data.
Unclassified.
Unnamed FORTRAN common.
Read/Write thread-local data (.tbss).
Extended operation.
Common csect definition.
Entry point symbol.
External reference.
Exported symbol.
Imported symbol.
Label definition.
Section definition.
Weak symbol.

# Variables

CarrierSymByType tracks carrier symbols and their sizes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Flags used by the linker.
Flags used by the linker.
Flags used by the linker.
Flags used by the linker.
Flags used by the linker.
Flags used by the linker.
Flags used by the linker.
Flags used by the linker.
the -w flag, computed in main from flagW.
No description provided by the author
No description provided by the author
No description provided by the author
PEBASE is the base address for the executable.
FileAlignment should be a power of 2 between 512 and 64 K, inclusive.
No description provided by the author
SectionAlignment must be greater than or equal to FileAlignment.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
windows-only.
No description provided by the author
No description provided by the author
No description provided by the author
windows-only.

# Structs

No description provided by the author
ArchSyms holds a number of architecture specific symbols used during relocation.
No description provided by the author
No description provided by the author
ELFArch includes target-specific hooks for ELF targets.
No description provided by the author
No description provided by the author
* Section header.
No description provided by the author
ErrorReporter is used to make error reporting thread safe.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Link holds the context for writing object code from a compiler or for reading that input into the linker.
No description provided by the author
No description provided by the author
MachoPlatformLoad represents a LC_VERSION_MIN_* or LC_BUILD_VERSION load command.
No description provided by the author
No description provided by the author
OutBuf is a buffered file writer.
No description provided by the author
No description provided by the author
Target holds the configuration we're building for.
Auxiliary Header.
csect Auxiliary Entry.
DWARF Auxiliary Entry.
Function Auxiliary Entry.
File Auxiliary Entry.
File Header.
Loader Header.
No description provided by the author
No description provided by the author
No description provided by the author
Loader Symbol.
Section Header.
Symbol Table Entry.

# Type aliases

A BuildMode indicates the sort of object we are building.
* ELF header.
* Program header.
LinkMode indicates whether an external linker is used for the final link.
No description provided by the author
No description provided by the author