Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 184 for elf_ (0.19 sec)

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

    	// encountered on some versions of Solaris. See issue #14957.
    	putelfsyment(ctxt.Out, putelfstr("go.go"), 0, 0, elf.ST_INFO(elf.STB_LOCAL, elf.STT_FILE), elf.SHN_ABS, 0)
    	ctxt.numelfsym++
    
    	bindings := []elf.SymBind{elf.STB_LOCAL, elf.STB_GLOBAL}
    	for _, elfbind := range bindings {
    		if elfbind == elf.STB_GLOBAL {
    			elfglobalsymndx = ctxt.numelfsym
    		}
    		genelfsym(ctxt, elfbind)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/riscv64/asm.go

    		//
    		//  https://github.com/riscv-non-isa/riscv-elf-psabi-doc/releases/download/v1.0/riscv-abi.pdf
    		//
    		var hiRel, loRel elf.R_RISCV
    		switch r.Type {
    		case objabi.R_RISCV_CALL, objabi.R_RISCV_PCREL_ITYPE:
    			hiRel, loRel = elf.R_RISCV_PCREL_HI20, elf.R_RISCV_PCREL_LO12_I
    		case objabi.R_RISCV_PCREL_STYPE:
    			hiRel, loRel = elf.R_RISCV_PCREL_HI20, elf.R_RISCV_PCREL_LO12_S
    		case objabi.R_RISCV_TLS_IE:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. src/cmd/internal/buildid/buildid_test.go

    		}
    
    		// Test an ELF PT_NOTE segment with an Align field of 0.
    		// Do this by rewriting the file data.
    		if strings.Contains(name, "elf") {
    			// We only expect a 64-bit ELF file.
    			if elf.Class(data[elf.EI_CLASS]) != elf.ELFCLASS64 {
    				continue
    			}
    
    			// We only expect a little-endian ELF file.
    			if elf.Data(data[elf.EI_DATA]) != elf.ELFDATA2LSB {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    // section or nil if the segment cannot be found.
    func FindTextProgHeader(f *elf.File) *elf.ProgHeader {
    	for _, s := range f.Sections {
    		if s.Name == ".text" {
    			// Find the LOAD segment containing the .text section.
    			for _, p := range f.Progs {
    				if p.Type == elf.PT_LOAD && p.Flags&elf.PF_X != 0 && s.Addr >= p.Vaddr && s.Addr < p.Vaddr+p.Memsz {
    					return &p.ProgHeader
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. src/cmd/link/internal/x86/asm.go

    	case objabi.R_ADDR, objabi.R_DWARFSECREF:
    		if siz == 4 {
    			out.Write32(uint32(elf.R_386_32) | uint32(elfsym)<<8)
    		} else {
    			return false
    		}
    	case objabi.R_GOTPCREL:
    		if siz == 4 {
    			out.Write32(uint32(elf.R_386_GOTPC))
    			if ldr.SymName(r.Xsym) != "_GLOBAL_OFFSET_TABLE_" {
    				out.Write32(uint32(sectoff))
    				out.Write32(uint32(elf.R_386_GOT32) | uint32(elfsym)<<8)
    			}
    		} else {
    			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)
  6. src/cmd/internal/buildid/note.go

    	// That's a waste of I/O when all we care about is the Prog list
    	// and the one ELF note.
    	switch elf.Class(data[elf.EI_CLASS]) {
    	case elf.ELFCLASS32:
    		data[32], data[33], data[34], data[35] = 0, 0, 0, 0
    		data[48] = 0
    		data[49] = 0
    	case elf.ELFCLASS64:
    		data[40], data[41], data[42], data[43] = 0, 0, 0, 0
    		data[44], data[45], data[46], data[47] = 0, 0, 0, 0
    		data[60] = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 20:40:42 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. src/cmd/link/internal/arm64/asm.go

    		var ldstType elf.R_AARCH64
    		switch r.Type {
    		case objabi.R_ARM64_PCREL_LDST8:
    			ldstType = elf.R_AARCH64_LDST8_ABS_LO12_NC
    		case objabi.R_ARM64_PCREL_LDST16:
    			ldstType = elf.R_AARCH64_LDST16_ABS_LO12_NC
    		case objabi.R_ARM64_PCREL_LDST32:
    			ldstType = elf.R_AARCH64_LDST32_ABS_LO12_NC
    		case objabi.R_ARM64_PCREL_LDST64:
    			ldstType = elf.R_AARCH64_LDST64_ABS_LO12_NC
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  8. src/cmd/link/internal/mips64/asm.go

    		switch r.Size {
    		case 4:
    			out.Write8(uint8(elf.R_MIPS_32))
    		case 8:
    			out.Write8(uint8(elf.R_MIPS_64))
    		default:
    			return false
    		}
    	case objabi.R_ADDRMIPS:
    		out.Write8(uint8(elf.R_MIPS_LO16))
    	case objabi.R_ADDRMIPSU:
    		out.Write8(uint8(elf.R_MIPS_HI16))
    	case objabi.R_ADDRMIPSTLS:
    		out.Write8(uint8(elf.R_MIPS_TLS_TPREL_LO16))
    		if ctxt.Target.IsOpenbsd() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 11K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loong64/asm.go

    			out.Write64(uint64(sectoff))
    			out.Write64(uint64(elf.R_LARCH_32) | uint64(elfsym)<<32)
    			out.Write64(uint64(r.Xadd))
    		case 8:
    			out.Write64(uint64(sectoff))
    			out.Write64(uint64(elf.R_LARCH_64) | uint64(elfsym)<<32)
    			out.Write64(uint64(r.Xadd))
    		default:
    			return false
    		}
    	case objabi.R_LOONG64_TLS_LE_LO:
    		out.Write64(uint64(sectoff))
    		out.Write64(uint64(elf.R_LARCH_TLS_LE_LO12) | uint64(elfsym)<<32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. docs_src/path_params/tutorial003b.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/users")
    async def read_users():
        return ["Rick", "Morty"]
    
    
    @app.get("/users")
    async def read_users2():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 12 16:16:16 UTC 2022
    - 193 bytes
    - Viewed (0)
Back to top