...

Package loadxcoff

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

Overview ▾

Package loadxcoff implements a XCOFF file reader.

func Load

func Load(l *loader.Loader, arch *sys.Arch, localSymVersion int, input *bio.Reader, pkg string, length int64, pn string) (textp []loader.Sym, err error)

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