Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cgo_dynamic_linker (0.16 sec)

  1. src/cmd/compile/internal/noder/lex_test.go

    		{`go:cgo_import_static local'`, []string{`cgo_import_static`, `local'`}},
    		{`go:cgo_dynamic_linker "/path/"`, []string{`cgo_dynamic_linker`, `/path/`}},
    		{`go:cgo_dynamic_linker "/p ath/"`, []string{`cgo_dynamic_linker`, `/p ath/`}},
    		{`go:cgo_ldflag "arg"`, []string{`cgo_ldflag`, `arg`}},
    		{`go:cgo_ldflag "a rg"`, []string{`cgo_ldflag`, `a rg`}},
    	}
    
    	if runtime.GOOS != "aix" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:39:06 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/go.go

    					// Dynamic cgo exports appear
    					// in the exported symbol table.
    					ctxt.dynexp = append(ctxt.dynexp, s)
    				}
    				l.SetAttrCgoExportDynamic(s, true)
    			}
    
    			continue
    
    		case "cgo_dynamic_linker":
    			if len(f) != 2 {
    				break
    			}
    
    			if *flagInterpreter == "" {
    				if interpreter != "" && interpreter != f[1] {
    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/cmd/cgo/doc.go

    used.
    
    In internal mode, cmd/link itself processes all the host object files, in
    particular foo.cgo2.o. To do so, it uses the cgo_import_dynamic and
    cgo_dynamic_linker directives to learn that the otherwise undefined
    reference to sin in foo.cgo2.o should be rewritten to refer to the
    symbol sin with version GLIBC_2.2.5 from the dynamic library
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  4. src/cmd/cgo/out.go

    			}
    		}()
    
    		stdout = f
    	}
    
    	fmt.Fprintf(stdout, "package %s\n", *dynpackage)
    
    	if f, err := elf.Open(obj); err == nil {
    		defer f.Close()
    		if *dynlinker {
    			// Emit the cgo_dynamic_linker line.
    			if sec := f.Section(".interp"); sec != nil {
    				if data, err := sec.Data(); err == nil && len(data) > 1 {
    					// skip trailing \0 in data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top