go/src/cmd/link/internal/loadmacho/ldmacho.go

const MACHO_X86_64_RELOC_UNSIGNED

const MACHO_X86_64_RELOC_SIGNED

const MACHO_ARM64_RELOC_ADDEND

type ldMachoObj

type ldMachoCmd

type ldMachoSeg

type ldMachoSect

type ldMachoRel

type ldMachoSymtab

type ldMachoSym

type ldMachoDysymtab

const N_EXT

const N_TYPE

const N_STAB

const N_WEAK_REF

const N_WEAK_DEF

const LdMachoCpuVax

const LdMachoCpu68000

const LdMachoCpu386

const LdMachoCpuAmd64

const LdMachoCpuMips

const LdMachoCpu98000

const LdMachoCpuHppa

const LdMachoCpuArm

const LdMachoCpuArm64

const LdMachoCpu88000

const LdMachoCpuSparc

const LdMachoCpu860

const LdMachoCpuAlpha

const LdMachoCpuPower

const LdMachoCmdSegment

const LdMachoCmdSymtab

const LdMachoCmdSymseg

const LdMachoCmdThread

const LdMachoCmdDysymtab

const LdMachoCmdSegment64

const LdMachoFileObject

const LdMachoFileExecutable

const LdMachoFileFvmlib

const LdMachoFileCore

const LdMachoFilePreload

func unpackcmd(p []byte, m *ldMachoObj, c *ldMachoCmd, type_ uint, sz uint) int {}

func macholoadrel(m *ldMachoObj, sect *ldMachoSect) int {}

func macholoaddsym(m *ldMachoObj, d *ldMachoDysymtab) int {}

func macholoadsym(m *ldMachoObj, symtab *ldMachoSymtab) int {}

// Load the Mach-O file pn from f.
// Symbols are written into syms, and a slice of the text symbols is returned.
func Load(l *loader.Loader, arch *sys.Arch, localSymVersion int, f *bio.Reader, pkg string, length int64, pn string) (textp []loader.Sym, err error) {}

func cstring(x []byte) string {}