Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for xcoff (0.11 sec)

  1. src/go/internal/gccgoimporter/ar.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package gccgoimporter
    
    import (
    	"bytes"
    	"debug/elf"
    	"errors"
    	"fmt"
    	"internal/xcoff"
    	"io"
    	"strconv"
    	"strings"
    )
    
    // Magic strings for different archive file formats.
    const (
    	armag  = "!<arch>\n"
    	armagt = "!<thin>\n"
    	armagb = "<bigaf>\n"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 14:14:36 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  2. src/internal/xcoff/ar_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 archiveTest struct {
    	file              string
    	hdr               ArchiveHeader
    	members           []*MemberHeader
    	membersFileHeader []FileHeader
    }
    
    var archTest = []archiveTest{
    	{
    		"testdata/bigar-ppc64",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 22:19:22 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/internal/archive/archive_test.go

    // license that can be found in the LICENSE file.
    
    package archive
    
    import (
    	"bytes"
    	"debug/elf"
    	"debug/macho"
    	"debug/pe"
    	"fmt"
    	"internal/testenv"
    	"internal/xcoff"
    	"io"
    	"os"
    	"path/filepath"
    	"runtime"
    	"sync"
    	"testing"
    	"unicode/utf8"
    )
    
    var buildDir string
    
    func TestMain(m *testing.M) {
    	if !testenv.HasGoBuild() {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 19:27:33 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. src/runtime/asm_ppc64x.h

    // we only support PIC on ppc64le which has a minimum 32 bytes of stack frame,
    // and currently always use that much, PIC on ppc64 would need to use 48).
    
    #define FIXED_FRAME 32
    
    // aix/ppc64 uses XCOFF which uses function descriptors.
    // AIX cannot perform the TOC relocation in a text section.
    // Therefore, these descriptors must live in a data section.
    #ifdef GOOS_aix
    #ifdef GOARCH_ppc64
    #define GO_PPC64X_HAS_FUNCDESC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 22:20:51 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/build_trimpath_cgo.txt

    go build -o hello.exe .
    grep -q gopath[/\\]src hello.exe
    go run ./list-dwarf hello.exe
    stdout gopath[/\\]src
    
    # Check that the source path does not appear when -trimpath is used.
    [GOOS:aix] stop # can't inspect XCOFF binaries
    go build -trimpath -o hello.exe .
    ! grep -q gopath[/\\]src hello.exe
    go run ./list-dwarf hello.exe
    ! stdout gopath/src
    
    
    # Do the above, with the cgo (but not .c) sources in an overlay
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/internal/buildid/buildid.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package buildid
    
    import (
    	"bytes"
    	"debug/elf"
    	"fmt"
    	"internal/xcoff"
    	"io"
    	"io/fs"
    	"os"
    	"strconv"
    	"strings"
    )
    
    var (
    	errBuildIDMalformed = fmt.Errorf("malformed object file")
    
    	bangArch = []byte("!<arch>")
    	pkgdef   = []byte("__.PKGDEF")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 28 21:52:53 UTC 2020
    - 9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/asmb.go

    		panic("unknown platform")
    
    	// Macho
    	case objabi.Hdarwin:
    		asmbMacho(ctxt)
    
    	// Plan9
    	case objabi.Hplan9:
    		asmbPlan9(ctxt)
    
    	// PE
    	case objabi.Hwindows:
    		asmbPe(ctxt)
    
    	// Xcoff
    	case objabi.Haix:
    		asmbXcoff(ctxt)
    
    	// Elf
    	case objabi.Hdragonfly,
    		objabi.Hfreebsd,
    		objabi.Hlinux,
    		objabi.Hnetbsd,
    		objabi.Hopenbsd,
    		objabi.Hsolaris:
    		asmbElf(ctxt)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 09:22:56 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. src/runtime/cgo/abi_ppc64x.h

    // saved when called from C. They must be preserved before
    // calling into Go which does not preserve any of them.
    //
    //	R14-R31
    //	CR2-4
    //	VR20-31
    //	F14-F31
    //
    // xcoff(aix) and ELFv1 are similar, but may only require a
    // subset of these.
    //
    // These macros assume a 16 byte aligned stack pointer. This
    // is required by ELFv1, ELFv2, and AIX PPC64.
    
    #define SAVE_GPR_SIZE (18*8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 03 20:17:02 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  9. src/cmd/nm/nm_test.go

    		// "debug/pe/testdata/gcc-amd64-mingw-exec", // no symbols!
    		"debug/pe/testdata/gcc-386-mingw-exec",
    		"debug/plan9obj/testdata/amd64-plan9-exec",
    		"debug/plan9obj/testdata/386-plan9-exec",
    		"internal/xcoff/testdata/gcc-ppc64-aix-dwarf2-exec",
    	}
    	for _, f := range testfiles {
    		exepath := filepath.Join(testenv.GOROOT(t), "src", f)
    		if strings.HasSuffix(f, ".base64") {
    			tf, err := obscuretestdata.DecodeToTempFile(exepath)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 23:32:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. src/cmd/dist/buildtool.go

    	"internal/pkgbits",
    	"internal/platform",
    	"internal/profile",
    	"internal/race",
    	"internal/saferio",
    	"internal/syscall/unix",
    	"internal/types/errors",
    	"internal/unsafeheader",
    	"internal/xcoff",
    	"internal/zstd",
    	"math/bits",
    	"sort",
    }
    
    // File prefixes that are ignored by go/build anyway, and cause
    // problems with editor generated temporary files (#18931).
    var ignorePrefixes = []string{
    	".",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top