Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for linkers (0.17 sec)

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

    	//   see got refs from C objects). Hence we put ".dynamic" in the
    	//   'want RO' list below and ".got" in the 'want RO if present".
    	// - when using the external linker, checking for read-only ".got"
    	//   is problematic since some linkers will only make the .got
    	//   read-only if its size is above a specific threshold, e.g.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/go.go

    	"strconv"
    	"strings"
    )
    
    // go-specific code shared across loaders (5l, 6l, 8l).
    
    // TODO:
    //	generate debugging section in binary.
    //	once the dust settles, try to move some code to
    //		libmach, so that other linkers and ar can share.
    
    func ldpkg(ctxt *Link, f *bio.Reader, lib *sym.Library, length int64, filename string) {
    	if *flagG {
    		return
    	}
    
    	if int64(int(length)) != length {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/runtime/runtime-gdb.py

    """GDB Pretty printers and convenience functions for Go's runtime structures.
    
    This script is loaded by GDB when it finds a .debug_gdb_scripts
    section in the compiled binary. The [68]l linkers emit this with a
    path to this file based on the path to the runtime package.
    """
    
    # Known issues:
    #    - pretty printing only works for the 'native' strings. E.g. 'type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcshared/cshared_test.go

    	}
    	if GOOS == "windows" {
    		// We can't simply pass -Wl,--out-implib, because this relies on having imports from multiple packages,
    		// which results in the linkers output implib getting overwritten at each step. So instead build the
    		// import library the traditional way, using a def file.
    		err = os.WriteFile("libgo.def",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  5. src/runtime/stack.go

    	"internal/cpu"
    	"internal/goarch"
    	"internal/goos"
    	"internal/runtime/atomic"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    /*
    Stack layout parameters.
    Included both by runtime (compiled via 6c) and linkers (compiled via gcc).
    
    The per-goroutine g->stackguard is set to point StackGuard bytes
    above the bottom of the stack.  Each function compares its stack
    pointer against g->stackguard to check for overflow.  To cut one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  6. src/runtime/runtime-gdb_test.go

    		"-ex", "set startup-with-shell off",
    		"-ex", "set print thread-events off",
    	}
    	if cgo {
    		// When we build the cgo version of the program, the system's
    		// linker is used. Some external linkers, like GNU gold,
    		// compress the .debug_gdb_scripts into .zdebug_gdb_scripts.
    		// Until gold and gdb can work together, temporarily load the
    		// python script directly.
    		args = append(args,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/symtab.go

    }
    
    func asmElfSym(ctxt *Link) {
    
    	// the first symbol entry is reserved
    	putelfsyment(ctxt.Out, 0, 0, 0, elf.ST_INFO(elf.STB_LOCAL, elf.STT_NOTYPE), 0, 0)
    
    	dwarfaddelfsectionsyms(ctxt)
    
    	// Some linkers will add a FILE sym if one is not present.
    	// Avoid having the working directory inserted into the symbol table.
    	// It is added with a name to avoid problems with external linking
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/dwarf_test.go

    		}
    	}
    
    	// When external linking, we put all symbols in the symbol table (so the
    	// external linker can find them). Skip the symbol table check.
    	// TODO: maybe there is some way to tell the external linker not to put
    	// those symbols in the executable's symbol table? Prefix the symbol name
    	// with "." or "L" to pretend it is a label?
    	if !testenv.CanInternalLink(false) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  9. src/cmd/internal/objabi/reloctype.go

    	// is not set on intel platforms but is set to a TLS symbol -- runtime.tlsg -- in
    	// the linker when externally linking).
    	R_TLS_IE
    	R_GOTOFF
    	R_PLT0
    	R_PLT1
    	R_PLT2
    	R_USEFIELD
    	// R_USETYPE resolves to an *rtype, but no relocation is created. The
    	// linker uses this as a signal that the pointed-to type information
    	// should be linked into the final binary, even if there are no other
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. hack/golangci.yaml

      # Excluding configuration per-path, per-linter, per-text and per-source
      exclude-rules:
        # exclude ineffassign linter for generated files for conversion
        - path: conversion\.go
          linters:
            - ineffassign
    
        # SSA Extract calls are allowed in tests.
        - linters:
            - forbidigo
          text: should not be used because managedFields was removed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top