Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for relocSect (0.09 sec)

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

    			out, err := ctxt.Out.View(sect.Reloff)
    			if err != nil {
    				panic(err)
    			}
    			go func() {
    				relocSect(ctxt, out, sect, syms)
    				wg.Done()
    				<-sem
    			}()
    		}
    	} else {
    		// We cannot Mmap. Write sequentially.
    		fn = func(ctxt *Link, sect *sym.Section, syms []loader.Sym) {
    			relocSect(ctxt, ctxt.Out, sect, syms)
    		}
    	}
    	return fn, &wg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 09:22:56 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. src/internal/pkgbits/reloc.go

    type RelocKind int32
    
    // An Index represents a bitstream element index within a particular
    // section.
    type Index int32
    
    // A relocEnt (relocation entry) is an entry in an element's local
    // reference table.
    //
    // TODO(mdempsky): Rename this too.
    type RelocEnt struct {
    	Kind RelocKind
    	Idx  Index
    }
    
    // Reserved indices within the meta relocation section.
    const (
    	PublicRootIdx  Index = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 10 22:22:48 UTC 2022
    - 835 bytes
    - Viewed (0)
  3. src/internal/pkgbits/encoder.go

    		p:   pw,
    		k:   k,
    		Idx: idx,
    	}
    }
    
    // An Encoder provides methods for encoding an individual element's
    // bitstream data.
    type Encoder struct {
    	p *PkgEncoder
    
    	Relocs   []RelocEnt
    	RelocMap map[RelocEnt]uint32
    	Data     bytes.Buffer // accumulated element bitstream data
    
    	encodingRelocHeader bool
    
    	k   RelocKind
    	Idx Index // index within relocation section
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 10 23:26:58 UTC 2022
    - 9.6K bytes
    - Viewed (0)
Back to top