go: github.com/golang/go/src/cmd/link/internal/objfile Index | Files

package objfile

import "github.com/golang/go/src/cmd/link/internal/objfile"

Package objfile reads Go object files for the Go linker, cmd/link.

This package is similar to cmd/internal/objfile which also reads Go object files.

Index

Package Files

objfile.go

Constants

const (
    NoFlag int = iota

    // Sanity-check duplicate symbol contents, issuing warning
    // when duplicates have different lengths or contents.
    StrictDupsWarnFlag

    // Similar to StrictDupsWarnFlag, but issue fatal error.
    StrictDupsErrFlag
)

func Load Uses

func Load(arch *sys.Arch, syms *sym.Symbols, f *bio.Reader, lib *sym.Library, unit *sym.CompilationUnit, length int64, pn string, flags int) int

Load loads an object file f into library lib. The symbols loaded are added to syms.

Package objfile imports 15 packages (graph). Updated 2019-12-09. Refresh now. Tools for package owners.