- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for DT_NEEDED (0.3 sec)
-
src/cmd/link/internal/ld/go.go
// and retained over unversioned libraries. This avoids the situation where // the use of cgo results in a DT_NEEDED for a versioned library (for example, // libc.so.96.1), while a dynamic import specifies an unversioned library (for // example, libc.so) - this would otherwise result in two DT_NEEDED entries // for the same library, resulting in a failure when ld.so attempts to load // the Go binary.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:48:30 UTC 2023 - 11.2K bytes - Viewed (0) -
src/debug/elf/file.go
return f.DynString(DT_NEEDED) } // DynString returns the strings listed for the given tag in the file's dynamic // section. // // The tag must be one that takes string values: [DT_NEEDED], [DT_SONAME], [DT_RPATH], or // [DT_RUNPATH]. func (f *File) DynString(tag DynTag) ([]string, error) { switch tag { case DT_NEEDED, DT_SONAME, DT_RPATH, DT_RUNPATH: default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:49:58 UTC 2024 - 43.1K bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/shared_test.go
} return dynstrings } func AssertIsLinkedToRegexp(t *testing.T, path string, re *regexp.Regexp) { t.Helper() for _, dynstring := range dynStrings(t, path, elf.DT_NEEDED) { if re.MatchString(dynstring) { return } } t.Errorf("%s is not linked to anything matching %v", path, re) } func AssertIsLinkedTo(t *testing.T, path, lib string) { t.Helper()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 26 01:54:41 UTC 2023 - 36.3K bytes - Viewed (0) -
src/debug/elf/elf.go
func (i ProgFlag) GoString() string { return flagName(uint32(i), pfStrings, true) } // Dyn.Tag type DynTag int const ( DT_NULL DynTag = 0 /* Terminating entry. */ DT_NEEDED DynTag = 1 /* String table offset of a needed shared library. */ DT_PLTRELSZ DynTag = 2 /* Total size in bytes of PLT relocations. */ DT_PLTGOT DynTag = 3 /* Processor-dependent address. */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 00:01:16 UTC 2024 - 134.6K bytes - Viewed (0) -
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) -
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) -
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) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"DT_MIPS_SYMTABNO", Const, 16}, {"DT_MIPS_TIME_STAMP", Const, 16}, {"DT_MIPS_UNREFEXTNO", Const, 16}, {"DT_MOVEENT", Const, 16}, {"DT_MOVESZ", Const, 16}, {"DT_MOVETAB", Const, 16}, {"DT_NEEDED", Const, 0}, {"DT_NULL", Const, 0}, {"DT_PLTGOT", Const, 0}, {"DT_PLTPAD", Const, 16}, {"DT_PLTPADSZ", Const, 16}, {"DT_PLTREL", Const, 0}, {"DT_PLTRELSZ", Const, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg debug/elf, const DT_INIT_ARRAYSZ DynTag pkg debug/elf, const DT_JMPREL DynTag pkg debug/elf, const DT_LOOS DynTag pkg debug/elf, const DT_LOPROC DynTag pkg debug/elf, const DT_NEEDED DynTag pkg debug/elf, const DT_NULL DynTag pkg debug/elf, const DT_PLTGOT DynTag pkg debug/elf, const DT_PLTREL DynTag pkg debug/elf, const DT_PLTRELSZ DynTag pkg debug/elf, const DT_PREINIT_ARRAY DynTag
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
api/go1.1.txt
pkg debug/elf, const DT_INIT_ARRAYSZ = 27 pkg debug/elf, const DT_JMPREL = 23 pkg debug/elf, const DT_LOOS = 1610612749 pkg debug/elf, const DT_LOPROC = 1879048192 pkg debug/elf, const DT_NEEDED = 1 pkg debug/elf, const DT_NULL = 0 pkg debug/elf, const DT_PLTGOT = 3 pkg debug/elf, const DT_PLTREL = 20 pkg debug/elf, const DT_PLTRELSZ = 2 pkg debug/elf, const DT_PREINIT_ARRAY = 32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)