Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for U802TOCMAGIC (0.15 sec)

  1. src/internal/xcoff/file_test.go

    )
    
    type fileTest struct {
    	file     string
    	hdr      FileHeader
    	sections []*SectionHeader
    	needed   []string
    }
    
    var fileTests = []fileTest{
    	{
    		"testdata/gcc-ppc32-aix-dwarf2-exec",
    		FileHeader{U802TOCMAGIC},
    		[]*SectionHeader{
    			{".text", 0x10000290, 0x00000bbd, STYP_TEXT, 0x7ae6, 0x36},
    			{".data", 0x20000e4d, 0x00000437, STYP_DATA, 0x7d02, 0x2b},
    			{".bss", 0x20001284, 0x0000021c, STYP_BSS, 0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 10 18:52:31 UTC 2018
    - 3K bytes
    - Viewed (0)
  2. src/cmd/internal/objfile/xcoff.go

    	data, err := sect.Data()
    	if err != nil {
    		return nil, err
    	}
    	return data[ssym.Value:esym.Value], nil
    }
    
    func (f *xcoffFile) goarch() string {
    	switch f.xcoff.TargetMachine {
    	case xcoff.U802TOCMAGIC:
    		return "ppc"
    	case xcoff.U64_TOCMAGIC:
    		return "ppc64"
    	}
    	return ""
    }
    
    func (f *xcoffFile) loadAddress() (uint64, error) {
    	return 0, fmt.Errorf("unknown load address")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 11 18:19:08 UTC 2021
    - 3.9K bytes
    - Viewed (0)
Back to top