...

Package loadxcoff

import "cmd/link/internal/loadxcoff"
Overview
Index

Overview ▾

Package loadxcoff implements a XCOFF file reader.

func Load

func Load(arch *sys.Arch, syms *sym.Symbols, input *bio.Reader, pkg string, length int64, pn string) (textp []*sym.Symbol, err error)

Load loads the Xcoff file pn from f. Symbols are written into syms, and a slice of the text symbols is returned.