Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for secSym (0.17 sec)

  1. src/cmd/link/internal/ld/dwarf.go

    // the section symbol and the sub-symbols have content)
    type dwarfSecInfo struct {
    	syms []loader.Sym
    }
    
    // secSym returns the section symbol for the section.
    func (dsi *dwarfSecInfo) secSym() loader.Sym {
    	if len(dsi.syms) == 0 {
    		return 0
    	}
    	return dsi.syms[0]
    }
    
    // subSyms returns a list of sub-symbols for the section.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/macho.go

    		relocSect(ctxt, sect, ctxt.datap)
    	}
    	for i := 0; i < len(Segdwarf.Sections); i++ {
    		sect := Segdwarf.Sections[i]
    		si := dwarfp[i]
    		if si.secSym() != loader.Sym(sect.Sym) ||
    			ctxt.loader.SymSect(si.secSym()) != sect {
    			panic("inconsistency between dwarfp and Segdwarf")
    		}
    		relocSect(ctxt, sect, si.syms)
    	}
    	wg.Wait()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/elf.go

    		relocSect(ctxt, sect, ctxt.datap)
    	}
    	for i := 0; i < len(Segdwarf.Sections); i++ {
    		sect := Segdwarf.Sections[i]
    		si := dwarfp[i]
    		if si.secSym() != loader.Sym(sect.Sym) ||
    			ctxt.loader.SymSect(si.secSym()) != sect {
    			panic("inconsistency between dwarfp and Segdwarf")
    		}
    		relocSect(ctxt, sect, si.syms)
    	}
    	wg.Wait()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/pe.go

    			}
    			return n
    		})
    	}
    
    dwarfLoop:
    	for i := 0; i < len(Segdwarf.Sections); i++ {
    		sect := Segdwarf.Sections[i]
    		si := dwarfp[i]
    		if si.secSym() != loader.Sym(sect.Sym) ||
    			ldr.SymSect(si.secSym()) != sect {
    			panic("inconsistency between dwarfp and Segdwarf")
    		}
    		for _, pesect := range f.sections {
    			if sect.Name == pesect.name {
    				pesect.emitRelocations(ctxt.Out, func() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/xcoff.go

    			}
    		}
    		s.xcoffSect.Snreloc += n
    	}
    
    dwarfLoop:
    	for i := 0; i < len(Segdwarf.Sections); i++ {
    		sect := Segdwarf.Sections[i]
    		si := dwarfp[i]
    		if si.secSym() != loader.Sym(sect.Sym) ||
    			ldr.SymSect(si.secSym()) != sect {
    			panic("inconsistency between dwarfp and Segdwarf")
    		}
    		for _, xcoffSect := range f.sections {
    			_, subtyp := xcoffGetDwarfSubtype(sect.Name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loadpe/ldpe.go

    		}
    
    		bld = makeUpdater(l, bld, s)
    		sectsym := state.sectsyms[sect]
    		bld.SetType(l.SymType(sectsym))
    		l.AddInteriorSym(sectsym, s)
    		bld.SetValue(int64(pesym.Value))
    		bld.SetSize(4)
    		if l.SymType(sectsym) == sym.STEXT {
    			if bld.External() && !bld.DuplicateOK() {
    				return nil, fmt.Errorf("%s: duplicate symbol definition", l.SymName(s))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/data.go

    	alignOne := func(state *dodataState, datsize int64, s loader.Sym) int64 { return datsize }
    
    	ldr := ctxt.loader
    	for i := 0; i < len(dwarfp); i++ {
    		// First the section symbol.
    		s := dwarfp[i].secSym()
    		sect := state.allocateNamedDataSection(&Segdwarf, ldr.SymName(s), []sym.SymKind{}, 04)
    		ldr.SetSymSect(s, sect)
    		sect.Sym = sym.LoaderSym(s)
    		curType := ldr.SymType(s)
    		state.setSymType(s, sym.SRODATA)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  8. src/debug/pe/symbols_test.go

    			name:   ".rdata$.refptr.__native_startup_lock",
    			ok:     true,
    			auxstr: "{Size:8 NumRelocs:1 NumLineNumbers:0 Checksum:0 SecNum:16 Selection:2 _:[0 0 0]}",
    		},
    		81: testpoint{
    			name:   ".debug_line",
    			ok:     true,
    			auxstr: "{Size:994 NumRelocs:1 NumLineNumbers:0 Checksum:1624223678 SecNum:32 Selection:0 _:[0 0 0]}",
    		},
    		155: testpoint{
    			name: ".file",
    			ok:   false,
    			err:  "incorrect symbol storage class",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 06 18:07:48 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/typelink.go

    	tl.SetType(sym.STYPELINK)
    	ldr.SetAttrLocal(tl.Sym(), true)
    	tl.SetSize(int64(4 * len(typelinks)))
    	tl.Grow(tl.Size())
    	relocs := tl.AddRelocs(len(typelinks))
    	for i, s := range typelinks {
    		r := relocs.At(i)
    		r.SetSym(s.Type)
    		r.SetOff(int32(i * 4))
    		r.SetSiz(4)
    		r.SetType(objabi.R_ADDROFF)
    	}
    
    	ptrsize := ctxt.Arch.PtrSize
    	il := ldr.CreateSymForUpdate("runtime.itablink", 0)
    	il.SetType(sym.SITABLINK)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 03 21:13:25 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/internal/goobj/objfile_test.go

    	s.SetFlag(0x12)
    	s.SetSiz(12345)
    	s.SetAlign(8)
    	s.Write(w)
    
    	var r Reloc
    	r.SetOff(12)
    	r.SetSiz(4)
    	r.SetType(uint16(objabi.R_ADDR))
    	r.SetAdd(54321)
    	r.SetSym(SymRef{11, 22})
    	r.Write(w)
    
    	var a Aux
    	a.SetType(AuxFuncInfo)
    	a.SetSym(SymRef{33, 44})
    	a.Write(w)
    
    	w.wr.Flush()
    
    	// Read them back and check.
    	b := buf.Bytes()
    	var s2 Sym
    	s2.fromBytes(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:22:12 UTC 2022
    - 3K bytes
    - Viewed (0)
Back to top