Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for cflags (0.42 sec)

  1. src/cmd/go/go_test.go

    		}
    	case "darwin", "ios":
    		f, err := macho.Open(obj)
    		if err != nil {
    			t.Fatal(err)
    		}
    		defer f.Close()
    		if f.Flags&macho.FlagDyldLink == 0 {
    			t.Error("PIE must have DyldLink flag, but not")
    		}
    		if f.Flags&macho.FlagPIE == 0 {
    			t.Error("PIE must have PIE flag, but not")
    		}
    	case "windows":
    		f, err := pe.Open(obj)
    		if err != nil {
    			t.Fatal(err)
    		}
    		defer f.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ppc64/asm.go

    			// Generate a PIC stub. This is ugly as the stub must determine its location using
    			// POWER8 or older instruction. These stubs are likely the combination of using
    			// GOPPC64 < 8 and linking external objects built with CFLAGS="... -mcpu=power10 ..."
    			stub.AddUint32(ctxt.Arch, OP_MFLR_R0)  // mflr r0
    			stub.AddUint32(ctxt.Arch, OP_BCL_NIA)  // bcl 20,31,1f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    					f.NoEscapes[funcName] = true
    				}
    			}
    		}
    	}
    	f.Preamble = strings.Join(linesOut, "\n")
    }
    
    // addToFlag appends args to flag.
    func (p *Package) addToFlag(flag string, args []string) {
    	if flag == "CFLAGS" {
    		// We'll also need these when preprocessing for dwarf information.
    		// However, discard any -g options: we need to be able
    		// to parse the debug info, so stick to what we expect.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. src/cmd/internal/testdir/testdir_test.go

    			cmdline := []string{"build", "-gcflags", "-S=2"}
    
    			// Append flags, but don't override -gcflags=-S=2; add to it instead.
    			for i := 0; i < len(flags); i++ {
    				flag := flags[i]
    				switch {
    				case strings.HasPrefix(flag, "-gcflags="):
    					cmdline[2] += " " + strings.TrimPrefix(flag, "-gcflags=")
    				case strings.HasPrefix(flag, "--gcflags="):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/xcoff.go

    	Fsymptr  uint64 // Byte offset to symbol table start
    	Fopthdr  uint16 // Number of bytes in optional header
    	Fflags   uint16 // Flags
    	Fnsyms   int32  // Number of entries in symbol table
    }
    
    const (
    	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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  6. src/cmd/dist/test.go

    	}
    	if opts.cpu != "" {
    		run = append(run, "-cpu="+opts.cpu)
    	}
    	if t.json {
    		run = append(run, "-json")
    	}
    
    	if opts.gcflags != "" {
    		build = append(build, "-gcflags=all="+opts.gcflags)
    	}
    	if opts.ldflags != "" {
    		build = append(build, "-ldflags="+opts.ldflags)
    	}
    	if opts.buildmode != "" {
    		build = append(build, "-buildmode="+opts.buildmode)
    	}
    
    	pkgs = opts.packages()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "ADDSconstflags", argLength: 1, reg: gp11flags, typ: "(UInt64,Flags)", asm: "ADDS", aux: "Int64"},      // arg0+auxint, set flags.
    		{name: "ADDSflags", argLength: 2, reg: gp21flags, typ: "(UInt64,Flags)", asm: "ADDS", commutative: true},      // arg0+arg1, set flags.
    		{name: "SUB", argLength: 2, reg: gp21, asm: "SUB"},                                                            // arg0 - arg1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	}
    	return fanotifyMark(fd, flags, mask, dirFd, p)
    }
    
    //sys	fchmodat(dirfd int, path string, mode uint32) (err error)
    //sys	fchmodat2(dirfd int, path string, mode uint32, flags int) (err error)
    
    func Fchmodat(dirfd int, path string, mode uint32, flags int) error {
    	// Linux fchmodat doesn't support the flags parameter, but fchmodat2 does.
    	// Try fchmodat2 if flags are specified.
    	if flags != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/elf.go

    			ehdr.Flags = 1 /* Version 1 ABI */
    		} else {
    			ehdr.Flags = 2 /* Version 2 ABI */
    		}
    		fallthrough
    	case sys.AMD64, sys.ARM64, sys.Loong64, sys.MIPS64, sys.RISCV64:
    		if ctxt.Arch.Family == sys.MIPS64 {
    			ehdr.Flags = 0x20000004 /* MIPS 3 CPIC */
    		}
    		if ctxt.Arch.Family == sys.Loong64 {
    			ehdr.Flags = 0x43 /* DOUBLE_FLOAT, OBJABI_V1 */
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    		mode |= O_RDONLY
    	}
    	return open(path, mode, perm)
    }
    
    //sys	openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) = SYS___OPENAT_A
    
    func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
    	if flags&O_ACCMODE == 0 {
    		flags |= O_RDONLY
    	}
    	return openat(dirfd, path, flags, mode)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top