Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for elf_ (0.11 sec)

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

    	}
    
    	for _, elfsym := range syms {
    		if elf.ST_TYPE(elfsym.Info) == elf.STT_NOTYPE || elf.ST_TYPE(elfsym.Info) == elf.STT_SECTION {
    			continue
    		}
    
    		// Symbols whose names start with "type:" are compiler generated,
    		// so make functions with that prefix internal.
    		ver := 0
    		symname := elfsym.Name // (unmangled) symbol name
    		if elf.ST_TYPE(elfsym.Info) == elf.STT_FUNC && strings.HasPrefix(elfsym.Name, "type:") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/loader.go

    	extname     map[Sym]string      // stores Extname symbol attribute
    	elfType     map[Sym]elf.SymType // stores elf type symbol property
    	elfSym      map[Sym]int32       // stores elf sym symbol property
    	localElfSym map[Sym]int32       // stores "local" elf sym symbol property
    	symPkg      map[Sym]string      // stores package for symbol, or library for shlib-derived syms
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  3. src/cmd/go/go_test.go

    	}
    	args = append(args, "-o", obj, src)
    	tg.run(args...)
    
    	switch runtime.GOOS {
    	case "linux", "android", "freebsd":
    		f, err := elf.Open(obj)
    		if err != nil {
    			t.Fatal(err)
    		}
    		defer f.Close()
    		if f.Type != elf.ET_DYN {
    			t.Errorf("PIE type must be ET_DYN, but %s", f.Type)
    		}
    	case "darwin", "ios":
    		f, err := macho.Open(obj)
    		if err != nil {
    			t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    // license that can be found in the LICENSE file.
    
    // Annotate Ref in Prog with C types by parsing gcc debug output.
    // Conversion of debug output to Go types.
    
    package main
    
    import (
    	"bytes"
    	"debug/dwarf"
    	"debug/elf"
    	"debug/macho"
    	"debug/pe"
    	"encoding/binary"
    	"errors"
    	"flag"
    	"fmt"
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"internal/xcoff"
    	"math"
    	"os"
    	"os/exec"
    	"strconv"
    	"strings"
    	"unicode"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  5. .bazelrc

    
    # Debug config
    build:dbg -c dbg
    # Only include debug info for files under tensorflow/, excluding kernels, to
    # reduce the size of the debug info in the binary. This is because if the debug
    # sections in the ELF binary are too large, errors can occur. See
    # https://github.com/tensorflow/tensorflow/issues/48919.
    # Users can still include debug info for a specific kernel, e.g. with:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 17:12:54 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  6. src/cmd/dist/test.go

    			// no static linking
    		case p == "freebsd/arm":
    			// -fPIC compiled tls code will use __tls_get_addr instead
    			// of __aeabi_read_tp, however, on FreeBSD/ARM, __tls_get_addr
    			// is implemented in rtld-elf, so -fPIC isn't compatible with
    			// static linking on FreeBSD/ARM with clang. (cgo depends on
    			// -fPIC fundamentally.)
    		default:
    			// Check for static linking support
    			var staticCheck rtSkipFunc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  7. src/runtime/asm_amd64.s

    	CALL	runtimeĀ·libpreinit(SB)
    
    	// Create a new thread to finish Go runtime initialization.
    	MOVQ	_cgo_sys_thread_create(SB), AX
    	TESTQ	AX, AX
    	JZ	nocgo
    
    	// We're calling back to C.
    	// Align stack per ELF ABI requirements.
    	MOVQ	SP, BX  // Callee-save in C ABI
    	ANDQ	$~15, SP
    	MOVQ	$_rt0_amd64_lib_go(SB), DI
    	MOVQ	$0, SI
    	CALL	AX
    	MOVQ	BX, SP
    	JMP	restore
    
    nocgo:
    	ADJSP	$16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/loong64/asm.go

    	if ctxt.Retpoline {
    		ctxt.Diag("-spectre=ret not supported on loong64")
    		ctxt.Retpoline = false // don't keep printing
    	}
    
    	p := cursym.Func().Text
    	if p == nil || p.Link == nil { // handle external functions and ELF section symbols
    		return
    	}
    
    	c := ctxt0{ctxt: ctxt, newprog: newprog, cursym: cursym, autosize: int32(p.To.Offset + ctxt.Arch.FixedFrameSize)}
    
    	if oprange[AOR&obj.AMask] == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
Back to top