Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for R_TLS_LE (0.17 sec)

  1. src/cmd/internal/objabi/reloctype_string.go

    	_ = x[R_SIZE-6]
    	_ = x[R_CALL-7]
    	_ = x[R_CALLARM-8]
    	_ = x[R_CALLARM64-9]
    	_ = x[R_CALLIND-10]
    	_ = x[R_CALLPOWER-11]
    	_ = x[R_CALLMIPS-12]
    	_ = x[R_CONST-13]
    	_ = x[R_PCREL-14]
    	_ = x[R_TLS_LE-15]
    	_ = x[R_TLS_IE-16]
    	_ = x[R_GOTOFF-17]
    	_ = x[R_PLT0-18]
    	_ = x[R_PLT1-19]
    	_ = x[R_PLT2-20]
    	_ = x[R_USEFIELD-21]
    	_ = x[R_USETYPE-22]
    	_ = x[R_USEIFACE-23]
    	_ = x[R_USEIFACEMETHOD-24]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/internal/objabi/reloctype.go

    	R_CALLMIPS
    	R_CONST
    	R_PCREL
    	// R_TLS_LE, used on 386, amd64, and ARM, resolves to the offset of the
    	// thread-local symbol from the thread local base and is used to implement the
    	// "local exec" model for tls access (r.Sym is not set on intel platforms but is
    	// set to a TLS symbol -- runtime.tlsg -- in the linker when externally linking).
    	R_TLS_LE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. src/internal/xcoff/xcoff.go

    	R_TLS    = 0x20 // General-dynamic reference to TLS symbol
    	R_TLS_IE = 0x21 // Initial-exec reference to TLS symbol
    	R_TLS_LD = 0x22 // Local-dynamic reference to TLS symbol
    	R_TLS_LE = 0x23 // Local-exec reference to TLS symbol
    	R_TLSM   = 0x24 // Module reference to TLS symbol
    	R_TLSML  = 0x25 // Module reference to local (own) module
    
    	R_TOCU = 0x30 // Relative to TOC - high order bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. src/cmd/link/internal/s390x/asm.go

    	out.Write64(uint64(sectoff))
    
    	elfsym := ld.ElfSymForReloc(ctxt, r.Xsym)
    	siz := r.Size
    	switch r.Type {
    	default:
    		return false
    	case objabi.R_TLS_LE:
    		switch siz {
    		default:
    			return false
    		case 4:
    			// WARNING - silently ignored by linker in ELF64
    			out.Write64(uint64(elf.R_390_TLS_LE32) | uint64(elfsym)<<32)
    		case 8:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  5. src/cmd/link/internal/x86/asm.go

    			}
    		} else {
    			return false
    		}
    	case objabi.R_PCREL:
    		if siz == 4 {
    			out.Write32(uint32(elf.R_386_PC32) | uint32(elfsym)<<8)
    		} else {
    			return false
    		}
    	case objabi.R_TLS_LE:
    		if siz == 4 {
    			out.Write32(uint32(elf.R_386_TLS_LE) | uint32(elfsym)<<8)
    		} else {
    			return false
    		}
    	case objabi.R_TLS_IE:
    		if siz == 4 {
    			out.Write32(uint32(elf.R_386_GOTPC))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  6. src/cmd/link/link_test.go

    	}
    
    	// Sift through the output; we should not be seeing any R_TLS_LE relocs.
    	scanner := bufio.NewScanner(bytes.NewReader(out))
    	for scanner.Scan() {
    		line := scanner.Text()
    		if strings.Contains(line, "R_TLS_LE") {
    			t.Errorf("objdump output contains unexpected R_TLS_LE reloc: %s", line)
    		}
    	}
    }
    
    const testStrictDupGoSrc = `
    package main
    func f()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/amd64/asm.go

    		if siz == 4 {
    			out.Write64(uint64(elf.R_X86_64_32) | uint64(elfsym)<<32)
    		} else if siz == 8 {
    			out.Write64(uint64(elf.R_X86_64_64) | uint64(elfsym)<<32)
    		} else {
    			return false
    		}
    	case objabi.R_TLS_LE:
    		if siz == 4 {
    			out.Write64(uint64(elf.R_X86_64_TPOFF32) | uint64(elfsym)<<32)
    		} else {
    			return false
    		}
    	case objabi.R_TLS_IE:
    		if siz == 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/objfile.go

    	for _, r := range s.R {
    		name := ""
    		ver := ""
    		if r.Sym != nil {
    			name = r.Sym.Name
    			if ctxt.Debugasm > 1 {
    				ver = fmt.Sprintf("<%d>", r.Sym.ABI())
    			}
    		} else if r.Type == objabi.R_TLS_LE {
    			name = "TLS"
    		}
    		if ctxt.Arch.InFamily(sys.ARM, sys.PPC64) {
    			fmt.Fprintf(ctxt.Bso, "\trel %d+%d t=%v %s%s+%x\n", int(r.Off), r.Siz, r.Type, name, ver, uint64(r.Add))
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. src/cmd/link/internal/arm/asm.go

    				out.Write32(uint32(elf.R_ARM_CALL) | uint32(elfsym)<<8)
    			} else {
    				out.Write32(uint32(elf.R_ARM_JUMP24) | uint32(elfsym)<<8)
    			}
    		} else {
    			return false
    		}
    	case objabi.R_TLS_LE:
    		out.Write32(uint32(elf.R_ARM_TLS_LE32) | uint32(elfsym)<<8)
    	case objabi.R_TLS_IE:
    		out.Write32(uint32(elf.R_ARM_TLS_IE32) | uint32(elfsym)<<8)
    	case objabi.R_GOTPCREL:
    		if siz == 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/data.go

    				nExtReloc += n
    			}
    			if ok {
    				o = out
    			} else {
    				st.err.Errorf(s, "unknown reloc to %v: %d (%s)", ldr.SymName(rs), rt, sym.RelocName(target.Arch, rt))
    			}
    		case objabi.R_TLS_LE:
    			if target.IsExternal() && target.IsElf() {
    				nExtReloc++
    				o = 0
    				if !target.IsAMD64() {
    					o = r.Add()
    				}
    				break
    			}
    
    			if target.IsElf() && target.IsARM() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
Back to top