Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for xcoff (0.04 sec)

  1. src/cmd/internal/objfile/xcoff.go

    // license that can be found in the LICENSE file.
    
    // Parsing of XCOFF executable (AIX)
    
    package objfile
    
    import (
    	"debug/dwarf"
    	"fmt"
    	"internal/xcoff"
    	"io"
    	"unicode"
    )
    
    type xcoffFile struct {
    	xcoff *xcoff.File
    }
    
    func openXcoff(r io.ReaderAt) (rawFile, error) {
    	f, err := xcoff.NewFile(r)
    	if err != nil {
    		return nil, err
    	}
    	return &xcoffFile{f}, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 11 18:19:08 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/xcoff.go

    	"sync"
    
    	"cmd/internal/objabi"
    	"cmd/link/internal/loader"
    	"cmd/link/internal/sym"
    )
    
    // This file handles all algorithms related to XCOFF files generation.
    // Most of them are adaptations of the ones in  cmd/link/internal/pe.go
    // as PE and XCOFF are based on COFF files.
    // XCOFF files generated are 64 bits.
    
    const (
    	// Total amount of space to reserve at the start of the file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  3. src/internal/xcoff/xcoff.go

    	Fflags   uint16 // Flags
    	Fnsyms   uint32 // Number of entries in symbol table
    }
    
    const (
    	FILHSZ_32 = 20
    	FILHSZ_64 = 24
    )
    const (
    	U802TOCMAGIC = 0737 // AIX 32-bit XCOFF
    	U64_TOCMAGIC = 0767 // AIX 64-bit XCOFF
    )
    
    // Flags that describe the type of the object file.
    const (
    	F_RELFLG    = 0x0001
    	F_EXEC      = 0x0002
    	F_LNNO      = 0x0004
    	F_FDPR_PROF = 0x0010
    	F_FDPR_OPTI = 0x0020
    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/loadxcoff/ldxcoff.go

    	case xcoff.STYP_DWARF, xcoff.STYP_DEBUG:
    		return sym.Sxxx, ""
    	case xcoff.STYP_DATA, xcoff.STYP_BSS, xcoff.STYP_TEXT:
    	}
    
    	switch s.StorageClass {
    	default:
    		return sym.Sxxx, fmt.Sprintf("getSymbolType for Storage class 0x%x not implemented", s.StorageClass)
    	case xcoff.C_HIDEXT, xcoff.C_EXT, xcoff.C_WEAKEXT:
    		switch s.AuxCSect.StorageMappingClass {
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. src/internal/xcoff/file.go

    // license that can be found in the LICENSE file.
    
    // Package xcoff implements access to XCOFF (Extended Common Object File Format) files.
    package xcoff
    
    import (
    	"debug/dwarf"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"internal/saferio"
    	"io"
    	"os"
    	"strings"
    )
    
    // SectionHeader holds information about an XCOFF section header.
    type SectionHeader struct {
    	Name           string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/stmtlines_test.go

    package ssa_test
    
    import (
    	cmddwarf "cmd/internal/dwarf"
    	"cmd/internal/quoted"
    	"debug/dwarf"
    	"debug/elf"
    	"debug/macho"
    	"debug/pe"
    	"fmt"
    	"internal/platform"
    	"internal/testenv"
    	"internal/xcoff"
    	"io"
    	"os"
    	"runtime"
    	"sort"
    	"testing"
    )
    
    func open(path string) (*dwarf.Data, error) {
    	if fh, err := elf.Open(path); err == nil {
    		return fh.DWARF()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 17:05:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. src/debug/buildinfo/buildinfo.go

    		if ok && seg.Addr != 0 && seg.Filesz != 0 && seg.Prot == RW && seg.Maxprot == RW {
    			return seg.Addr, seg.Memsz
    		}
    	}
    	return 0, 0
    }
    
    // xcoffExe is the XCOFF (AIX eXtended COFF) implementation of the exe interface.
    type xcoffExe struct {
    	f *xcoff.File
    }
    
    func (x *xcoffExe) ReadData(addr, size uint64) ([]byte, error) {
    	for _, sect := range x.f.Sections {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. src/internal/xcoff/file_test.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package xcoff
    
    import (
    	"reflect"
    	"testing"
    )
    
    type fileTest struct {
    	file     string
    	hdr      FileHeader
    	sections []*SectionHeader
    	needed   []string
    }
    
    var fileTests = []fileTest{
    	{
    		"testdata/gcc-ppc32-aix-dwarf2-exec",
    		FileHeader{U802TOCMAGIC},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 10 18:52:31 UTC 2018
    - 3K bytes
    - Viewed (0)
  9. src/go/internal/gccgoimporter/importer.go

    // Package gccgoimporter implements Import for gccgo-generated object files.
    package gccgoimporter // import "go/internal/gccgoimporter"
    
    import (
    	"bytes"
    	"debug/elf"
    	"fmt"
    	"go/types"
    	"internal/xcoff"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    // A PackageInit describes an imported package that needs initialization.
    type PackageInit struct {
    	Name     string // short package name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 6.8K bytes
    - Viewed (0)
  10. src/internal/xcoff/ar.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package xcoff
    
    import (
    	"encoding/binary"
    	"fmt"
    	"io"
    	"os"
    	"strconv"
    	"strings"
    )
    
    const (
    	SAIAMAG   = 0x8
    	AIAFMAG   = "`\n"
    	AIAMAG    = "<aiaff>\n"
    	AIAMAGBIG = "<bigaf>\n"
    
    	// Sizeof
    	FL_HSZ_BIG = 0x80
    	AR_HSZ_BIG = 0x70
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top