- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for writeableData (0.27 sec)
-
src/cmd/link/internal/x86/asm.go
// use unnecessary SS prefix to keep instruction same length. writeableData := su.Data() writeableData[r.Off()-2] = 0x36 writeableData[r.Off()-1] = 0x68 su.SetRelocType(rIdx, objabi.R_ADDR) return true } ldr.Errorf(s, "unexpected GOT reloc for non-dynamic symbol %s", ldr.SymName(targ)) return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 13.6K bytes - Viewed (0) -
src/cmd/link/internal/amd64/asm.go
// have symbol sData := ldr.Data(s) if r.Off() >= 2 && sData[r.Off()-2] == 0x8b { su.MakeWritable() // turn MOVQ of GOT entry into LEAQ of symbol itself writeableData := su.Data() writeableData[r.Off()-2] = 0x8d su.SetRelocType(rIdx, objabi.R_PCREL) su.SetRelocAdd(rIdx, r.Add()+4) return true } } // fall back to using GOT and hope for the best (CMOV*)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 21K bytes - Viewed (0)