Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for putelfsym (0.15 sec)

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

    		// several platforms.
    		putelfsyment(ctxt.Out, putelfstr("local."+sname), addr, size, elf.ST_INFO(elf.STB_LOCAL, typ), elfshnum, other)
    		ldr.SetSymLocalElfSym(x, int32(ctxt.numelfsym))
    		ctxt.numelfsym++
    		return
    	} else if bind != curbind {
    		return
    	}
    
    	putelfsyment(ctxt.Out, putelfstr(sname), addr, size, elf.ST_INFO(bind, typ), elfshnum, other)
    	ldr.SetSymElfSym(x, int32(ctxt.numelfsym))
    	ctxt.numelfsym++
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/riscv64/asm.go

    			}
    
    			// TODO(jsing): Consider generating ELF symbols without needing
    			// loader symbols, in order to reduce memory consumption. This
    			// would require changes to genelfsym so that it called
    			// putelfsym and putelfsyment as appropriate.
    			sb := ldr.MakeSymbolBuilder(fakeLabelName)
    			sb.SetType(sym.STEXT)
    			sb.SetValue(ldr.SymValue(s) + int64(r.Off()))
    			sb.SetLocal(true)
    			sb.SetReachable(true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/ppc64/obj9.go

    				// load of a large constant, and in that case there is no
    				// way to use r12 as the source.
    				//
    				// Note that the same condition is tested in
    				// putelfsym in cmd/link/internal/ld/symtab.go
    				// where we set the st_other field to indicate
    				// the presence of these instructions.
    				q = obj.Appendp(q, c.newprog)
    				q.As = AWORD
    				q.Pos = p.Pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/lib.go

    	for _, i := range lib.Imports {
    		dfs(i, mark, order)
    	}
    	mark[lib] = visited
    	*order = append(*order, lib)
    }
    
    func ElfSymForReloc(ctxt *Link, s loader.Sym) int32 {
    	// If putelfsym created a local version of this symbol, use that in all
    	// relocations.
    	les := ctxt.loader.SymLocalElfSym(s)
    	if les != 0 {
    		return les
    	} else {
    		return ctxt.loader.SymElfSym(s)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/sym.go

    		Target:        Target{Arch: arch},
    		version:       sym.SymVerStatic,
    		outSem:        make(chan int, 2*runtime.GOMAXPROCS(0)),
    		Out:           NewOutBuf(arch),
    		LibraryByPkg:  make(map[string]*sym.Library),
    		numelfsym:     1,
    		ErrorReporter: ErrorReporter{ErrorReporter: ler},
    		generatorSyms: make(map[loader.Sym]generatorFunc),
    	}
    
    	if buildcfg.GOARCH != arch.Name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 19:28:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/link.go

    	loader  *loader.Loader
    	cgodata []cgodata // cgo directives to load, three strings are args for loadcgo
    
    	datap  []loader.Sym
    	dynexp []loader.Sym
    
    	// Elf symtab variables.
    	numelfsym int // starts at 0, 1 is reserved
    
    	// These are symbols that created and written by the linker.
    	// Rather than creating a symbol, and writing all its data into the heap,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 5.1K bytes
    - Viewed (0)
Back to top