- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for decodetypeGcprog (0.24 sec)
-
src/cmd/link/internal/ld/decodesym.go
if sect != nil { bits := ptrdata / int64(ctxt.Arch.PtrSize) r := make([]byte, (bits+7)/8) // ldshlibsyms avoids closing the ELF file so sect.ReadAt works. // If we remove this read (and the ones in decodetypeGcprog), we // can close the file. _, err := sect.ReadAt(r, int64(addr-sect.Addr)) if err != nil { log.Fatal(err) } return r }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 9.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
} f, err := elf.Open(libpath) if err != nil { Errorf(nil, "cannot open shared library: %s", libpath) return } // Keep the file open as decodetypeGcprog needs to read from it. // TODO: fix. Maybe mmap the file. //defer f.Close() hash, err := readnote(f, ELF_NOTE_GO_NAME, ELF_NOTE_GOABIHASH_TAG) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
for i := int64(0); i < nptr; i++ { if (mask[i/8]>>uint(i%8))&1 != 0 { p.w.Ptr(sval/ptrsize + i) } } return } // Copy program. prog := decodetypeGcprog(p.ctxt, typ) p.w.ZeroUntil(sval / ptrsize) p.w.Append(prog[4:], nptr) } // cutoff is the maximum data section size permitted by the linker // (see issue #9862).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0)