Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SymElfType (0.09 sec)

  1. src/cmd/link/internal/s390x/asm.go

    		// signalled using the variant - see issue 14218.
    		switch r.Type {
    		case objabi.R_PCRELDBL, objabi.R_CALL:
    			isdbl = true
    		}
    		if ldr.SymType(r.Xsym) == sym.SDYNIMPORT && (ldr.SymElfType(r.Xsym) == elf.STT_FUNC || r.Type == objabi.R_CALL) {
    			if isdbl {
    				switch siz {
    				case 2:
    					elfrel = elf.R_390_PLT16DBL
    				case 4:
    					elfrel = elf.R_390_PLT32DBL
    				}
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  2. src/cmd/link/internal/amd64/asm.go

    			} else {
    				out.Write64(uint64(elf.R_X86_64_PC32) | uint64(elfsym)<<32)
    			}
    		} else {
    			return false
    		}
    	case objabi.R_PCREL:
    		if siz == 4 {
    			if ldr.SymType(r.Xsym) == sym.SDYNIMPORT && ldr.SymElfType(r.Xsym) == elf.STT_FUNC {
    				out.Write64(uint64(elf.R_X86_64_PLT32) | uint64(elfsym)<<32)
    			} else {
    				out.Write64(uint64(elf.R_X86_64_PC32) | uint64(elfsym)<<32)
    			}
    		} else {
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/symtab.go

    			if !shouldBeInSymbolTable(s) {
    				continue
    			}
    			putelfsym(ctxt, s, typ, elfbind)
    			continue
    		}
    		if st == sym.SHOSTOBJ || st == sym.SDYNIMPORT || st == sym.SUNDEFEXT {
    			putelfsym(ctxt, s, ldr.SymElfType(s), elfbind)
    		}
    	}
    }
    
    func asmElfSym(ctxt *Link) {
    
    	// the first symbol entry is reserved
    	putelfsyment(ctxt.Out, 0, 0, 0, elf.ST_INFO(elf.STB_LOCAL, elf.STT_NOTYPE), 0, 0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loader/loader.go

    	} else {
    		l.extname[i] = value
    	}
    }
    
    // SymElfType returns the previously recorded ELF type for a symbol
    // (used only for symbols read from shared libraries by ldshlibsyms).
    // It is not set for symbols defined by the packages being linked or
    // by symbols read by ldelf (and so is left as elf.STT_NOTYPE).
    func (l *Loader) SymElfType(i Sym) elf.SymType {
    	if et, ok := l.elfType[i]; ok {
    		return et
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
Back to top