Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for secSym (0.34 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/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)
  9. src/cmd/link/internal/s390x/asm.go

    		ldr.SetRelocVariant(s, rIdx, sym.RV_390_DBL)
    		r.SetSym(syms.GOT)
    		su.SetRelocAdd(rIdx, r.Add()+int64(r.Siz()))
    		return true
    
    	case objabi.ElfRelocOffset + objabi.RelocType(elf.R_390_GOTENT):
    		ld.AddGotSym(target, ldr, syms, targ, uint32(elf.R_390_GLOB_DAT))
    		su := ldr.MakeSymbolUpdater(s)
    		su.SetRelocType(rIdx, objabi.R_PCREL)
    		ldr.SetRelocVariant(s, rIdx, sym.RV_390_DBL)
    		r.SetSym(syms.GOT)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loong64/asm.go

    	o(0x1a000004)
    	rel, _ := initfunc.AddRel(objabi.R_LOONG64_ADDR_HI)
    	rel.SetOff(0)
    	rel.SetSiz(4)
    	rel.SetSym(ctxt.Moduledata)
    
    	//	4:	02c00084	addi.d	$a0, $a0, 0
    	//				4: R_LARCH_PCALA_LO12	local.moduledata
    	o(0x02c00084)
    	rel2, _ := initfunc.AddRel(objabi.R_LOONG64_ADDR_LO)
    	rel2.SetOff(4)
    	rel2.SetSiz(4)
    	rel2.SetSym(ctxt.Moduledata)
    
    	//	8:	50000000	b	0
    	//				8: R_LARCH_B26	runtime.addmoduledata
    	o(0x50000000)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top