code: func addlibpath(ctxt *Link, srcref string, objref string, file string, pkg string) {
  	for i := range ctxt.Library {
  		if file == ctxt.Library[i].File {
  			return
  		}
  	}
  	if ctxt.Debugvlog > 1 && ctxt.Bso != nil {
  		Bprint(ctxt.Bso, "%5.2f addlibpath: srcref: %s objref: %s file: %s pkg: %s\n", Cputime(), srcref, objref, file, pkg)
  	}
  	ctxt.Library = append(ctxt.Library, Library{
  		Objref: objref,
  		Srcref: srcref,
  		File:   file,
  		Pkg:    pkg,
  	})
  }
docs: /*
   * add library to library list.
   *	srcref: src file referring to package
   *	objref: object file referring to package
   *	file: object file, e.g., /home/rsc/go/pkg/container/vector.a
   *	pkg: package import path, e.g. container/vector
   */