Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + const AOUTHSZ_EXEC32 + const AOUTHSZ_EXEC64 + const ARMAG + const ARM_MAGIC_TRAMP_NUMBER + const BIND_IMMEDIATE_MASK + const BIND_OPCODE_ADD_ADDR_ULEB + const BIND_OPCODE_DONE + const BIND_OPCODE_DO_BIND + const BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED + const BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB + const BIND_OPCODE_DO_BIND_ULEB_TIMES_SKIPPING_ULEB + const BIND_OPCODE_MASK + const BIND_OPCODE_SET_ADDEND_SLEB + const BIND_OPCODE_SET_DYLIB_ORDINAL_IMM + const BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB + const BIND_OPCODE_SET_DYLIB_SPECIAL_IMM + const BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB + const BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM + const BIND_OPCODE_SET_TYPE_IMM + const BIND_OPCODE_THREADED + const BIND_SPECIAL_DYLIB_FLAT_LOOKUP + const BIND_SPECIAL_DYLIB_MAIN_EXECUTABLE + const BIND_SPECIAL_DYLIB_SELF + const BIND_SPECIAL_DYLIB_WEAK_LOOKUP + const BIND_SUBOPCODE_THREADED_APPLY + const BIND_SUBOPCODE_THREADED_SET_BIND_ORDINAL_TABLE_SIZE_ULEB + const BIND_TYPE_POINTER + const BIND_TYPE_TEXT_ABSOLUTE32 + const BIND_TYPE_TEXT_PCREL32 + const BUCKETSIZE + const BucketSize + const COMPUNITHEADERSIZE + const C_BCOMM + const C_BINCL + const C_BLOCK + const C_BSTAT + const C_DECL + const C_DWARF + const C_ECOML + const C_ECOMM + const C_EINCL + const C_ENTRY + const C_ESTAT + const C_EXT + const C_FCN + const C_FILE + const C_FUN + const C_GSYM + const C_GTLS + const C_HIDEXT + const C_LSYM + const C_NULL + const C_PSYM + const C_RPSYM + const C_RSYM + const C_STAT + const C_STSYM + const C_STTLS + const C_WEAKEXT + const ELF32HDRSIZE + const ELF32PHDRSIZE + const ELF32RELSIZE + const ELF32SHDRSIZE + const ELF32SYMSIZE + const ELF64HDRSIZE + const ELF64PHDRSIZE + const ELF64RELASIZE + const ELF64RELSIZE + const ELF64SHDRSIZE + const ELF64SYMSIZE + const ELFRESERVE + const ELF_NOTE_BUILDINFO_NAMESZ + const ELF_NOTE_BUILDINFO_TAG + const ELF_NOTE_GOABIHASH_TAG + const ELF_NOTE_GOBUILDID_TAG + const ELF_NOTE_GODEPS_TAG + const ELF_NOTE_GOPKGLIST_TAG + const ELF_NOTE_NETBSD_DESCSZ + const ELF_NOTE_NETBSD_NAMESZ + const ELF_NOTE_NETBSD_TAG + const ELF_NOTE_NETBSD_VERSION + const ELF_NOTE_OPENBSD_DESCSZ + const ELF_NOTE_OPENBSD_NAMESZ + const ELF_NOTE_OPENBSD_TAG + const ELF_NOTE_OPENBSD_VERSION + const FILHSZ_32 + const FILHSZ_64 + const F_DSA + const F_DYNLOAD + const F_EXEC + const F_FDPR_OPTI + const F_FDPR_PROF + const F_LNNO + const F_LOADONLY + const F_RELFLG + const F_SHROBJ + const F_VARPG + const GdbScriptPythonFileId + const GdbScriptPythonTextId + const GdbScriptSchemeFileId + const GdbScriptSchemeTextId + const IMAGE_REL_AMD64_ADDR32 + const IMAGE_REL_AMD64_ADDR64 + const IMAGE_REL_AMD64_REL32 + const IMAGE_REL_AMD64_SECREL + const IMAGE_REL_ARM64_ABSOLUTE + const IMAGE_REL_ARM64_ADDR32 + const IMAGE_REL_ARM64_ADDR32NB + const IMAGE_REL_ARM64_ADDR64 + const IMAGE_REL_ARM64_BRANCH14 + const IMAGE_REL_ARM64_BRANCH19 + const IMAGE_REL_ARM64_BRANCH26 + const IMAGE_REL_ARM64_PAGEBASE_REL21 + const IMAGE_REL_ARM64_PAGEOFFSET_12A + const IMAGE_REL_ARM64_PAGEOFFSET_12L + const IMAGE_REL_ARM64_REL21 + const IMAGE_REL_ARM64_REL32 + const IMAGE_REL_ARM64_SECREL + const IMAGE_REL_ARM64_SECREL_HIGH12A + const IMAGE_REL_ARM64_SECREL_LOW12A + const IMAGE_REL_ARM64_SECREL_LOW12L + const IMAGE_REL_ARM64_SECTION + const IMAGE_REL_ARM64_TOKEN + const IMAGE_REL_ARM_ABSOLUTE + const IMAGE_REL_ARM_ADDR32 + const IMAGE_REL_ARM_ADDR32NB + const IMAGE_REL_ARM_BRANCH11 + const IMAGE_REL_ARM_BRANCH24 + const IMAGE_REL_ARM_SECREL + const IMAGE_REL_BASED_DIR64 + const IMAGE_REL_BASED_HIGHLOW + const IMAGE_REL_I386_DIR32 + const IMAGE_REL_I386_REL32 + const IMAGE_REL_I386_SECREL + const IMAGE_SCN_ALIGN_1024BYTES + const IMAGE_SCN_ALIGN_128BYTES + const IMAGE_SCN_ALIGN_16BYTES + const IMAGE_SCN_ALIGN_1BYTES + const IMAGE_SCN_ALIGN_2048BYTES + const IMAGE_SCN_ALIGN_256BYTES + const IMAGE_SCN_ALIGN_2BYTES + const IMAGE_SCN_ALIGN_32BYTES + const IMAGE_SCN_ALIGN_4096BYTES + const IMAGE_SCN_ALIGN_4BYTES + const IMAGE_SCN_ALIGN_512BYTES + const IMAGE_SCN_ALIGN_64BYTES + const IMAGE_SCN_ALIGN_8192BYTES + const IMAGE_SCN_ALIGN_8BYTES + const IMAGE_SCN_CNT_CODE + const IMAGE_SCN_CNT_INITIALIZED_DATA + const IMAGE_SCN_CNT_UNINITIALIZED_DATA + const IMAGE_SCN_GPREL + const IMAGE_SCN_LNK_COMDAT + const IMAGE_SCN_LNK_INFO + const IMAGE_SCN_LNK_NRELOC_OVFL + const IMAGE_SCN_LNK_OTHER + const IMAGE_SCN_LNK_REMOVE + const IMAGE_SCN_MEM_16BIT + const IMAGE_SCN_MEM_DISCARDABLE + const IMAGE_SCN_MEM_EXECUTE + const IMAGE_SCN_MEM_LOCKED + const IMAGE_SCN_MEM_NOT_CACHED + const IMAGE_SCN_MEM_NOT_PAGED + const IMAGE_SCN_MEM_PRELOAD + const IMAGE_SCN_MEM_PURGEABLE + const IMAGE_SCN_MEM_READ + const IMAGE_SCN_MEM_SHARED + const IMAGE_SCN_MEM_WRITE + const IMAGE_SYM_CLASS_EXTERNAL + const IMAGE_SYM_CLASS_STATIC + const IMAGE_SYM_DTYPE_ARRAY + const IMAGE_SYM_DTYPE_FUNCTION + const IMAGE_SYM_TYPE_NULL + const IMAGE_SYM_TYPE_STRUCT + const INITIAL_MACHO_HEADR + const LC_BUILD_VERSION + const LC_CODE_SIGNATURE + const LC_DATA_IN_CODE + const LC_DYLD_CHAINED_FIXUPS + const LC_DYLD_ENVIRONMENT + const LC_DYLD_EXPORTS_TRIE + const LC_DYLD_INFO + const LC_DYLD_INFO_ONLY + const LC_DYLIB_CODE_SIGN_DRS + const LC_DYSYMTAB + const LC_ENCRYPTION_INFO + const LC_ENCRYPTION_INFO_64 + const LC_FUNCTION_STARTS + const LC_FVMFILE + const LC_IDENT + const LC_IDFVMLIB + const LC_ID_DYLIB + const LC_ID_DYLINKER + const LC_LAZY_LOAD_DYLIB + const LC_LINKER_OPTIMIZATION_HINT + const LC_LINKER_OPTION + const LC_LOADFVMLIB + const LC_LOAD_DYLIB + const LC_LOAD_DYLINKER + const LC_LOAD_UPWARD_DYLIB + const LC_LOAD_WEAK_DYLIB + const LC_MAIN + const LC_PREBIND_CKSUM + const LC_PREBOUND_DYLIB + const LC_PREPAGE + const LC_REEXPORT_DYLIB + const LC_ROUTINES + const LC_ROUTINES_64 + const LC_RPATH + const LC_SEGMENT + const LC_SEGMENT_64 + const LC_SEGMENT_SPLIT_INFO + const LC_SOURCE_VERSION + const LC_SUB_CLIENT + const LC_SUB_FRAMEWORK + const LC_SUB_LIBRARY + const LC_SUB_UMBRELLA + const LC_SYMSEG + const LC_SYMTAB + const LC_THREAD + const LC_TWOLEVEL_HINTS + const LC_UNIXTHREAD + const LC_UUID + const LC_VERSION_MIN_IPHONEOS + const LC_VERSION_MIN_MACOSX + const LC_VERSION_MIN_TVOS + const LC_VERSION_MIN_WATCHOS + const LC_VERSION_NOTE + const LDHDRSZ_32 + const LDHDRSZ_64 + const LDSYMSZ_64 + const LINE_BASE + const LINE_RANGE + const MACHO32SYMSIZE + const MACHO64SYMSIZE + const MACHO_ARM64_RELOC_ADDEND + const MACHO_ARM64_RELOC_BRANCH26 + const MACHO_ARM64_RELOC_GOT_LOAD_PAGE21 + const MACHO_ARM64_RELOC_GOT_LOAD_PAGEOFF12 + const MACHO_ARM64_RELOC_PAGE21 + const MACHO_ARM64_RELOC_PAGEOFF12 + const MACHO_ARM64_RELOC_UNSIGNED + const MACHO_ARM_RELOC_BR24 + const MACHO_ARM_RELOC_PAIR + const MACHO_ARM_RELOC_SECTDIFF + const MACHO_ARM_RELOC_VANILLA + const MACHO_CPU_386 + const MACHO_CPU_AMD64 + const MACHO_CPU_ARM + const MACHO_CPU_ARM64 + const MACHO_FAKE_GOTPCREL + const MACHO_GENERIC_RELOC_VANILLA + const MACHO_SUBCPU_ARM + const MACHO_SUBCPU_ARM64E + const MACHO_SUBCPU_ARM64_ALL + const MACHO_SUBCPU_ARM64_V8 + const MACHO_SUBCPU_ARMV7 + const MACHO_SUBCPU_X86 + const MACHO_X86_64_RELOC_BRANCH + const MACHO_X86_64_RELOC_GOT + const MACHO_X86_64_RELOC_GOT_LOAD + const MACHO_X86_64_RELOC_SIGNED + const MACHO_X86_64_RELOC_SIGNED_1 + const MACHO_X86_64_RELOC_SIGNED_2 + const MACHO_X86_64_RELOC_SIGNED_4 + const MACHO_X86_64_RELOC_SUBTRACTOR + const MACHO_X86_64_RELOC_UNSIGNED + const MH_DYLDLINK + const MH_EXECUTE + const MH_MAGIC + const MH_MAGIC_64 + const MH_NOUNDEFS + const MH_OBJECT + const MH_PIE + const MINFUNC + const MIPS_FPABI_ANY + const MIPS_FPABI_FP64 + const MIPS_FPABI_FP64A + const MIPS_FPABI_FPXX + const MIPS_FPABI_HIST + const MIPS_FPABI_NONE + const MIPS_FPABI_SINGLE + const MIPS_FPABI_SOFT + const MaxKeySize + const MaxValSize + const NOIDX + const NSECT + const N_ABS + const N_DEBUG + const N_UNDEF + const NumSymKind + const OPCODE_BASE + const PC_RANGE + const PeMinimumTargetMajorVersion + const PeMinimumTargetMinorVersion + const REBASE_IMMEDIATE_MASK + const REBASE_OPCODE_ADD_ADDR_IMM_SCALED + const REBASE_OPCODE_ADD_ADDR_ULEB + const REBASE_OPCODE_DONE + const REBASE_OPCODE_DO_REBASE_ADD_ADDR_ULEB + const REBASE_OPCODE_DO_REBASE_IMM_TIMES + const REBASE_OPCODE_DO_REBASE_ULEB_TIMES + const REBASE_OPCODE_DO_REBASE_ULEB_TIMES_SKIPPING_ULEB + const REBASE_OPCODE_MASK + const REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB + const REBASE_OPCODE_SET_TYPE_IMM + const REBASE_TYPE_POINTER + const REBASE_TYPE_TEXT_ABSOLUTE32 + const REBASE_TYPE_TEXT_PCREL32 + const RELSZ_64 + const SARMAG + const SAR_HDR + const SCNHSZ_32 + const SCNHSZ_64 + const SSUBTYP_DWABREV + const SSUBTYP_DWARNGE + const SSUBTYP_DWFRAME + const SSUBTYP_DWINFO + const SSUBTYP_DWLINE + const SSUBTYP_DWLOC + const SSUBTYP_DWMAC + const SSUBTYP_DWPBNMS + const SSUBTYP_DWPBTYP + const SSUBTYP_DWRNGES + const SSUBTYP_DWSTR + const STYP_BSS + const STYP_DATA + const STYP_DEBUG + const STYP_DWARF + const STYP_EXCEPT + const STYP_INFO + const STYP_LOADER + const STYP_OVRFLO + const STYP_TBSS + const STYP_TDATA + const STYP_TEXT + const STYP_TYPCHK + const SUBBUCKETS + const SUBBUCKETSIZE + const SYMESZ + const SYM_TYPE_FUNC + const SYM_V_EXPORTED + const SYM_V_HIDDEN + const SYM_V_INTERNAL + const SYM_V_PROTECTED + const S_ATTR_DEBUG + const S_ATTR_PURE_INSTRUCTIONS + const S_ATTR_SOME_INSTRUCTIONS + const S_MOD_INIT_FUNC_POINTERS + const S_NON_LAZY_SYMBOL_POINTERS + const S_REGULAR + const S_SYMBOL_STUBS + const S_ZEROFILL + const SymKindExtdef + const SymKindLocal + const SymKindUndef + const U64_TOCMAGIC + const XCOFFDATABASE + const XCOFFHDRRESERVE + const XCOFFSECTALIGN + const XCOFFTEXTBASE + const XCOFF_R_BA + const XCOFF_R_BR + const XCOFF_R_GL + const XCOFF_R_NEG + const XCOFF_R_POS + const XCOFF_R_RBA + const XCOFF_R_RBR + const XCOFF_R_REF + const XCOFF_R_REL + const XCOFF_R_RL + const XCOFF_R_RLA + const XCOFF_R_TCL + const XCOFF_R_TLS + const XCOFF_R_TLSM + const XCOFF_R_TLSML + const XCOFF_R_TLS_IE + const XCOFF_R_TLS_LD + const XCOFF_R_TLS_LE + const XCOFF_R_TOC + const XCOFF_R_TOCL + const XCOFF_R_TOCU + const XCOFF_R_TRL + const XCOFF_R_TRLA + const XFT_CD + const XFT_CT + const XFT_CV + const XFT_FN + const XMC_BS + const XMC_DB + const XMC_DS + const XMC_GL + const XMC_PR + const XMC_RO + const XMC_RW + const XMC_SV + const XMC_SV3264 + const XMC_SV64 + const XMC_TC + const XMC_TC0 + const XMC_TD + const XMC_TE + const XMC_TL + const XMC_UA + const XMC_UC + const XMC_UL + const XMC_XO + const XTY_CM + const XTY_ENT + const XTY_ER + const XTY_EXP + const XTY_IMP + const XTY_LD + const XTY_SD + const XTY_WK + var CarrierSymByType [sym.SXREF]struct + var ELF_NOTE_BUILDINFO_NAME = []byte("GNU\x00") + var ELF_NOTE_GO_NAME = []byte("Go\x00\x00") + var ELF_NOTE_NETBSD_NAME = []byte("NetBSD\x00") + var ELF_NOTE_OPENBSD_NAME = []byte("OpenBSD\x00") + var Elfstrdat []byte + var FlagC = flag.Bool("c", false, "dump call graph") + var FlagD = flag.Bool("d", false, "disable dynamic executable") + var FlagDebugTextSize = flag.Int("debugtextsize", 0, "debug text section max size") + var FlagDebugTramp = flag.Int("debugtramp", 0, "debug trampolines") + var FlagRound = flag.Int("R", -1, "set address rounding `quantum`") + var FlagS = flag.Bool("s", false, "disable symbol table") + var FlagStrictDups = flag.Int("strictdups", 0, ...) + var FlagTextAddr = flag.Int64("T", -1, "set text segment `address`") + var FlagW = flag.Bool("w", false, "disable DWARF generation") + var Funcalign int + var HEADR int32 + var Nelfsym = 1 + var PEBASE int64 + var PEFILEALIGN int64 = 2 << 8 + var PEFILEHEADR int32 + var PESECTALIGN int64 = 0x1000 + var PESECTHEADR int32 + var Segdata sym.Segment + var Segdwarf sym.Segment + var Segments = []*sym.Segment + var Segrelrodata sym.Segment + var Segrodata sym.Segment + var Segtext sym.Segment + func AddGotSym(target *Target, ldr *loader.Loader, syms *ArchSyms, s loader.Sym, ...) + func AddMachoSym(ldr *loader.Loader, s loader.Sym) + func AddPELabelSym(ldr *loader.Loader, s loader.Sym) + func Adddynsym(ldr *loader.Loader, target *Target, syms *ArchSyms, s loader.Sym) + func Asmbelfsetup() + func AtExit(f func()) + func CodeblkPad(ctxt *Link, out *OutBuf, addr int64, size int64, pad []byte) + func DatblkBytes(ctxt *Link, addr int64, size int64) []byte + func ElfSymForReloc(ctxt *Link, s loader.Sym) int32 + func Elfinit(ctxt *Link) + func Elfwritedynent(arch *sys.Arch, s *loader.SymbolBuilder, tag elf.DynTag, val uint64) + func Elfwritedynentsymplus(ctxt *Link, s *loader.SymbolBuilder, tag elf.DynTag, t loader.Sym, add int64) + func Entryvalue(ctxt *Link) int64 + func Errorf(dummy *int, format string, args ...interface{}) + func Exit(code int) + func Exitf(format string, a ...interface{}) + func ExtrelocSimple(ldr *loader.Loader, r loader.Reloc) loader.ExtReloc + func ExtrelocViaOuterSym(ldr *loader.Loader, r loader.Reloc, s loader.Sym) loader.ExtReloc + func FoldSubSymbolOffset(ldr *loader.Loader, s loader.Sym) (loader.Sym, int64) + func Lflag(ctxt *Link, arg string) + func Loaderblk(ctxt *Link, off uint64) + func MachoAddBind(off int64, targ loader.Sym) + func MachoAddRebase(s loader.Sym, off int64) + func Main(arch *sys.Arch, theArch Arch) + func Peinit(ctxt *Link) + func PrepareAddmoduledata(ctxt *Link) (*loader.SymbolBuilder, loader.Sym) + func Rnd(v int64, r int64) int64 + func Xcoffadddynrel(target *Target, ldr *loader.Loader, syms *ArchSyms, s loader.Sym, ...) bool + func Xcoffinit(ctxt *Link) + type ArHdr struct + type Arch struct + Adddynrel func(*Target, *loader.Loader, *ArchSyms, loader.Sym, loader.Reloc, int) bool + Androiddynld string + Archinit func(*Link) + Archreloc func(*Target, *loader.Loader, *ArchSyms, loader.Reloc, loader.Sym, int64) (relocatedOffset int64, nExtReloc int, ok bool) + Archrelocvariant func(target *Target, ldr *loader.Loader, rel loader.Reloc, rv sym.RelocVariant, ...) (relocatedOffset int64) + Asmb func(*Link, *loader.Loader) + Asmb2 func(*Link, *loader.Loader) + AssignAddress func(ldr *loader.Loader, sect *sym.Section, n int, s loader.Sym, va uint64, ...) (*sym.Section, int, uint64) + CodePad []byte + Dragonflydynld string + Dwarfreglr int + Dwarfregsp int + Elfreloc1 func(*Link, *OutBuf, *loader.Loader, loader.Sym, loader.ExtReloc, int, int64) bool + ElfrelocSize uint32 + Elfsetupplt func(ctxt *Link, plt, gotplt *loader.SymbolBuilder, dynamic loader.Sym) + Extreloc func(*Target, *loader.Loader, loader.Reloc, loader.Sym) (loader.ExtReloc, bool) + Freebsddynld string + Funcalign int + GenSymsLate func(*Link, *loader.Loader) + Gentext func(*Link, *loader.Loader) + Linuxdynld string + Machoreloc1 func(*sys.Arch, *OutBuf, *loader.Loader, loader.Sym, loader.ExtReloc, int64) bool + MachorelocSize uint32 + Maxalign int + Minalign int + Netbsddynld string + Openbsddynld string + PEreloc1 func(*sys.Arch, *OutBuf, *loader.Loader, loader.Sym, loader.ExtReloc, int64) bool + Plan9Magic uint32 + Plan9_64Bit bool + Solarisdynld string + TLSIEtoLE func(P []byte, off, size int) + TrampLimit uint64 + Trampoline func(ctxt *Link, ldr *loader.Loader, ri int, rs, s loader.Sym) + Xcoffreloc1 func(*sys.Arch, *OutBuf, *loader.Loader, loader.Sym, loader.ExtReloc, int64) bool + type ArchSyms struct + DotTOC []loader.Sym + DynStr loader.Sym + DynSym loader.Sym + Dynamic loader.Sym + GOT loader.Sym + GOTPLT loader.Sym + LinkEditGOT loader.Sym + LinkEditPLT loader.Sym + PLT loader.Sym + Rel loader.Sym + RelPLT loader.Sym + Rela loader.Sym + RelaPLT loader.Sym + TOC loader.Sym + Tlsg loader.Sym + Tlsoffset int + type BuildMode uint8 + const BuildModeCArchive + const BuildModeCShared + const BuildModeExe + const BuildModePIE + const BuildModePlugin + const BuildModeShared + const BuildModeUnset + func (mode *BuildMode) Set(s string) error + func (mode *BuildMode) String() string + type Dll struct + type ElfEhdr elf.Header64 + type ElfPhdr elf.ProgHeader + type ElfShdr struct + type Elfaux struct + type Elflib struct + type Elfstring struct + type ErrorReporter struct + SymName symNameFn + type GCProg struct + func (p *GCProg) AddSym(s loader.Sym) + func (p *GCProg) End(size int64) + func (p *GCProg) Init(ctxt *Link, name string) + type Hostobj struct + type IMAGE_EXPORT_DIRECTORY struct + AddressOfFunctions uint32 + AddressOfNameOrdinals uint32 + AddressOfNames uint32 + Base uint32 + Characteristics uint32 + MajorVersion uint16 + MinorVersion uint16 + Name uint32 + NumberOfFunctions uint32 + NumberOfNames uint32 + TimeDateStamp uint32 + type IMAGE_IMPORT_DESCRIPTOR struct + FirstThunk uint32 + ForwarderChain uint32 + Name uint32 + OriginalFirstThunk uint32 + TimeDateStamp uint32 + type Imp struct + type Link struct + Bso *bufio.Writer + Debugvlog int + Libdir []string + Library []*sym.Library + LibraryByPkg map[string]*sym.Library + Loaded bool + Moduledata loader.Sym + Out *OutBuf + PackageFile map[string]string + PackageShlib map[string]string + Shlibs []Shlib + Textp []loader.Sym + func (ctxt *Link) AddTramp(s *loader.SymbolBuilder) + func (ctxt *Link) CanUsePlugins() bool + func (ctxt *Link) DynlinkingGo() bool + func (ctxt *Link) Errorf(s loader.Sym, format string, args ...interface{}) + func (ctxt *Link) FixedFrameSize() int64 + func (ctxt *Link) IncVersion() int + func (ctxt *Link) Logf(format string, args ...interface{}) + func (ctxt *Link) MaxVersion() int + func (ctxt *Link) NeedCodeSign() bool + type LinkMode uint8 + const LinkAuto + const LinkExternal + const LinkInternal + func (mode *LinkMode) Set(s string) error + func (mode *LinkMode) String() string + type MachoHdr struct + type MachoLoad struct + type MachoPlatform int + const PLATFORM_BRIDGEOS + const PLATFORM_IOS + const PLATFORM_MACOS + const PLATFORM_TVOS + const PLATFORM_WATCHOS + type MachoPlatformLoad struct + type MachoSect struct + type MachoSeg struct + type OutBuf struct + func NewOutBuf(arch *sys.Arch) *OutBuf + func (out *OutBuf) Close() error + func (out *OutBuf) Data() []byte + func (out *OutBuf) ErrorClose() + func (out *OutBuf) Mmap(filesize uint64) (err error) + func (out *OutBuf) Mmap(filesize uint64) error + func (out *OutBuf) Offset() int64 + func (out *OutBuf) Open(name string) error + func (out *OutBuf) SeekSet(p int64) + func (out *OutBuf) View(start uint64) (*OutBuf, error) + func (out *OutBuf) Write(v []byte) (int, error) + func (out *OutBuf) Write16(v uint16) + func (out *OutBuf) Write32(v uint32) + func (out *OutBuf) Write32b(v uint32) + func (out *OutBuf) Write64(v uint64) + func (out *OutBuf) Write64b(v uint64) + func (out *OutBuf) Write8(v uint8) + func (out *OutBuf) WriteByte(v byte) error + func (out *OutBuf) WriteString(s string) + func (out *OutBuf) WriteStringN(s string, n int) + func (out *OutBuf) WriteStringPad(s string, n int, pad []byte) + func (out *OutBuf) WriteSym(ldr *loader.Loader, s loader.Sym) []byte + type Pkg struct + type Rpath struct + func (r *Rpath) Set(val string) error + func (r *Rpath) String() string + type Shlib struct + Deps []string + File *elf.File + Hash []byte + Path string + type SymbolType int8 + const AutoSym + const BSSSym + const DataSym + const DeletedAutoSym + const FrameSym + const ParamSym + const TLSSym + const TextSym + const UndefinedSym + type Target struct + Arch *sys.Arch + BuildMode BuildMode + HeadType objabi.HeadType + IsELF bool + LinkMode LinkMode + func (t *Target) CanUsePlugins() bool + func (t *Target) Is386() bool + func (t *Target) IsAIX() bool + func (t *Target) IsAMD64() bool + func (t *Target) IsARM() bool + func (t *Target) IsARM64() bool + func (t *Target) IsBigEndian() bool + func (t *Target) IsDarwin() bool + func (t *Target) IsDynlinkingGo() bool + func (t *Target) IsElf() bool + func (t *Target) IsExe() bool + func (t *Target) IsExternal() bool + func (t *Target) IsInternal() bool + func (t *Target) IsLinux() bool + func (t *Target) IsMIPS() bool + func (t *Target) IsMIPS64() bool + func (t *Target) IsNetbsd() bool + func (t *Target) IsOpenbsd() bool + func (t *Target) IsPIE() bool + func (t *Target) IsPPC64() bool + func (t *Target) IsPlan9() bool + func (t *Target) IsPlugin() bool + func (t *Target) IsRISCV64() bool + func (t *Target) IsS390X() bool + func (t *Target) IsShared() bool + func (t *Target) IsSharedGoLink() bool + func (t *Target) IsSolaris() bool + func (t *Target) IsWasm() bool + func (t *Target) IsWindows() bool + func (t *Target) UseRelro() bool + func (t *Target) UsesLibc() bool + type XcoffAoutHdr64 struct + Oalgndata int16 + Oalgntext int16 + Obsize uint64 + Ocpuflag uint8 + Ocputype uint8 + Odatapsize uint8 + Odatastart uint64 + Odebugger uint32 + Odsize uint64 + Oentry uint64 + Oflags uint8 + Omagic int16 + Omaxdata uint64 + Omaxstack uint64 + Omodtype [2]byte + Oresv3 [2]int32 + Oresv3a int16 + Osnbss int16 + Osndata int16 + Osnentry int16 + Osnloader int16 + Osntbss int16 + Osntdata int16 + Osntext int16 + Osntoc int16 + Ostackpsize uint8 + Otextpsize uint8 + Otextstart uint64 + Otoc uint64 + Otsize uint64 + Ovstamp int16 + Ox64flags uint16 + type XcoffAuxCSect64 struct + Xauxtype uint8 + Xpad uint8 + Xparmhash uint32 + Xscnlenhi uint32 + Xscnlenlo uint32 + Xsmclas uint8 + Xsmtyp uint8 + Xsnhash uint16 + type XcoffAuxDWARF64 struct + X_pad [9]byte + Xauxtype uint8 + Xscnlen uint64 + type XcoffAuxFcn64 struct + Xauxtype uint8 + Xendndx uint32 + Xfsize uint32 + Xlnnoptr uint64 + Xpad uint8 + type XcoffAuxFile64 struct + X_pad1 [6]byte + X_pad2 [2]byte + Xauxtype uint8 + Xftype uint8 + Xoffset uint32 + Xzeroes uint32 + type XcoffFileHdr64 struct + Fflags uint16 + Fmagic uint16 + Fnscns uint16 + Fnsyms int32 + Fopthdr uint16 + Fsymptr uint64 + Ftimedat int32 + type XcoffLdHdr64 struct + Limpoff uint64 + Listlen uint32 + Lnimpid int32 + Lnreloc int32 + Lnsyms int32 + Lrldoff uint64 + Lstlen uint32 + Lstoff uint64 + Lsymoff uint64 + Lversion int32 + type XcoffLdImportFile64 struct + Limpidbase string + Limpidmem string + Limpidpath string + type XcoffLdRel64 struct + Lrsecnm int16 + Lrtype uint16 + Lsymndx int32 + Lvaddr uint64 + type XcoffLdStr64 struct + type XcoffLdSym64 struct + Lifile int32 + Loffset uint32 + Lparm uint32 + Lscnum int16 + Lsmclas int8 + Lsmtype int8 + Lvalue uint64 + type XcoffScnHdr64 struct + Sflags uint32 + Slnnoptr uint64 + Sname [8]byte + Snlnno uint32 + Snreloc uint32 + Spaddr uint64 + Srelptr uint64 + Sscnptr uint64 + Ssize uint64 + Svaddr uint64 + type XcoffSymEnt64 struct + Nnumaux int8 + Noffset uint32 + Nsclass uint8 + Nscnum int16 + Ntype uint16 + Nvalue uint64