Home | History | Annotate | Download | only in ld

Lines Matching refs:symbol

10 // Now they are more like standard object files, in that each symbol is defined
24 // - sequence of symbol references used by the defined symbols
44 // A symbol reference is a string name followed by a version.
46 // A symbol points to other symbols using an index into the symbol
48 // In the symbol layout described below "symref index" stands for this
51 // Each symbol is laid out as the following fields (taken from Object*):
139 dupSym *Symbol
145 // List of symbol references for the file being read.
146 refs []*Symbol
151 funcdata []*Symbol
153 file []*Symbol
164 dupSym: &Symbol{Name: ".dup"},
201 // Symbol references
202 r.refs = []*Symbol{nil} // zeroth ref is nil
251 r.funcdata = make([]*Symbol, n)
254 r.file = make([]*Symbol, n)
277 var dup *Symbol
293 log.Fatalf("duplicate symbol %s (types %d and %d) in %s and %s", s.Name, s.Type, t, s.File, r.pn)
409 log.Fatalf("symbol %s listed multiple times", s.Name)
428 func (r *objReader) patchDWARFName(s *Symbol) {
470 log.Fatalf("invalid symbol version %d", v)
484 log.Panicf("failed to parse $-symbol %s: %v", s.Name, err)
491 log.Panicf("$-symbol %s too large: %d", s.Name, x)
497 log.Panicf("unrecognized $-symbol: %s", s.Name)
573 // readSymName reads a symbol name, replacing all "". with pkg.
586 // Long symbol names are rare but exist. One source is type
591 log.Fatalf("%s: error reading symbol: %v", r.pn, err)
607 // These types are included in the symbol
614 // the symbol is not decodable.
638 // Reads the index of a symbol reference and resolves it to a symbol
639 func (r *objReader) readSymIndex() *Symbol {