Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for asmbElf (0.13 sec)

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

    	// Xcoff
    	case objabi.Haix:
    		asmbXcoff(ctxt)
    
    	// Elf
    	case objabi.Hdragonfly,
    		objabi.Hfreebsd,
    		objabi.Hlinux,
    		objabi.Hnetbsd,
    		objabi.Hopenbsd,
    		objabi.Hsolaris:
    		asmbElf(ctxt)
    	}
    
    	if *FlagC {
    		fmt.Printf("textsize=%d\n", Segtext.Filelen)
    		fmt.Printf("datsize=%d\n", Segdata.Filelen)
    		fmt.Printf("bsssize=%d\n", Segdata.Length-Segdata.Filelen)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 09:22:56 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/elf.go

    		elfshalloc(sect)
    	}
    	for _, sect := range Segdata.Sections {
    		elfshalloc(sect)
    	}
    	for _, sect := range Segdwarf.Sections {
    		elfshalloc(sect)
    	}
    }
    
    func asmbElf(ctxt *Link) {
    	var symo int64
    	symo = int64(Segdwarf.Fileoff + Segdwarf.Filelen)
    	symo = Rnd(symo, int64(ctxt.Arch.PtrSize))
    	ctxt.Out.SeekSet(symo)
    	if *FlagS {
    		ctxt.Out.Write(elfshstrdat)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/x86/evex.go

    		}
    		evexSuffixMap[i] = suffix
    	}
    }
    
    // toDisp8 tries to convert disp to proper 8-bit displacement value.
    func toDisp8(disp int32, p *obj.Prog, asmbuf *AsmBuf) (disp8 byte, ok bool) {
    	if asmbuf.evexflag {
    		bcst := evexSuffixMap[p.Scond].broadcast
    		elemSize := asmbuf.evex.DispMultiplier(bcst)
    		return compressedDisp8(disp, elemSize)
    	}
    	return byte(disp), disp >= -128 && disp < 128
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/asm6.go

    func (ab *AsmBuf) Last() byte { return ab.buf[ab.off-1] }
    
    // Len returns the length of the buffer.
    func (ab *AsmBuf) Len() int { return ab.off }
    
    // Bytes returns the contents of the buffer.
    func (ab *AsmBuf) Bytes() []byte { return ab.buf[:ab.off] }
    
    // Reset empties the buffer.
    func (ab *AsmBuf) Reset() { ab.off = 0 }
    
    // At returns the byte at offset i.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top