Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for not_needed (0.43 sec)

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

    		dil := ldr.SymDynimplib(s)
    
    		if !cgoeDynamic && dil != "" && !seenlib[dil] {
    			du := ldr.MakeSymbolUpdater(syms.Dynamic)
    			Elfwritedynent(target.Arch, du, elf.DT_NEEDED, uint64(dstru.Addstring(dil)))
    			seenlib[dil] = true
    		}
    	} else {
    
    		/* value */
    		if st == sym.SDYNIMPORT {
    			d.AddUint32(target.Arch, 0)
    		} else {
    			d.AddAddrPlus(target.Arch, s, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  2. src/debug/elf/file_test.go

    		}
    		tl := tt.needed
    		fl, err := f.ImportedLibraries()
    		if err != nil {
    			t.Error(err)
    		}
    		if !reflect.DeepEqual(tl, fl) {
    			t.Errorf("open %s: DT_NEEDED = %v, want %v", tt.file, tl, fl)
    		}
    		symbols, err := f.Symbols()
    		if tt.symbols == nil {
    			if !errors.Is(err, ErrNoSymbols) {
    				t.Errorf("open %s: Symbols() expected ErrNoSymbols, have nil", tt.file)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/out.go

    			continue
    		}
    
    		if !cVars[n.C] {
    			if *gccgo {
    				fmt.Fprintf(fc, "extern byte *%s;\n", n.C)
    			} else {
    				// Force a reference to all symbols so that
    				// the external linker will add DT_NEEDED
    				// entries as needed on ELF systems.
    				// Treat function variables differently
    				// to avoid type conflict errors from LTO
    				// (Link Time Optimization).
    				if n.Kind == "fpvar" {
    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