Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Exitf (0.03 sec)

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

    	argv0 := argv[0]
    	if filepath.Base(argv0) == argv0 {
    		argv0, err = exec.LookPath(argv0)
    		if err != nil {
    			Exitf("cannot find %s: %v", argv[0], err)
    		}
    	}
    	if ctxt.Debugvlog != 0 {
    		ctxt.Logf("invoking archiver with syscall.Exec()\n")
    	}
    	err = syscall.Exec(argv0, argv, os.Environ())
    	if err != nil {
    		Exitf("running %s failed: %v", argv[0], err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 876 bytes
    - Viewed (0)
  2. src/cmd/link/internal/riscv64/obj.go

    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x10000
    		}
    		if *ld.FlagTextAddr == -1 {
    			*ld.FlagTextAddr = ld.Rnd(0x10000, *ld.FlagRound) + int64(ld.HEADR)
    		}
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 17:46:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/config.go

    			}
    		}
    	}
    
    	switch ctxt.LinkMode {
    	case LinkInternal:
    		if extNeeded {
    			Exitf("internal linking requested %sbut external linking required: %s", via, extReason)
    		}
    	case LinkExternal:
    		switch {
    		case buildcfg.GOARCH == "ppc64" && buildcfg.GOOS == "linux":
    			Exitf("external linking not supported for %s/ppc64", buildcfg.GOOS)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:14:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. src/cmd/link/internal/mips/obj.go

    			// .dynamic section.
    			DynamicReadOnly: true,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    	case objabi.Hlinux: /* mips elf */
    		ld.Elfinit(ctxt)
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x10000
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. src/cmd/link/internal/loong64/obj.go

    			Reloc1:    elfreloc1,
    			RelocSize: 24,
    			SetupPLT:  elfsetupplt,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    	case objabi.Hlinux: /* loong64 elf */
    		ld.Elfinit(ctxt)
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x10000
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 13:49:14 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/outbuf_mmap.go

    		// area.
    		if err != syscall.ENOTSUP && err != syscall.EPERM && err != errNoFallocate {
    			return err
    		}
    	}
    	err = out.f.Truncate(int64(filesize))
    	if err != nil {
    		Exitf("resize output file failed: %v", err)
    	}
    	out.buf, err = syscall.Mmap(int(out.f.Fd()), 0, int(filesize), syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_SHARED|syscall.MAP_FILE)
    	if err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/link/internal/arm/obj.go

    			Reloc1:    elfreloc1,
    			RelocSize: 8,
    			SetupPLT:  elfsetupplt,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    
    	case objabi.Hplan9: /* plan 9 */
    		ld.HEADR = 32
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 4096
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/s390x/obj.go

    			Reloc1:    elfreloc1,
    			RelocSize: 24,
    			SetupPLT:  elfsetupplt,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    
    	case objabi.Hlinux: // s390x ELF
    		ld.Elfinit(ctxt)
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x10000
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/inittask.go

    		}
    		ctxt.mainInittasks = ctxt.inittaskSym(roots, "go:shlib.inittasks")
    		// Make symbol local so multiple plugins don't clobber each other's inittask list.
    		ctxt.loader.SetAttrLocal(ctxt.mainInittasks, true)
    	default:
    		Exitf("unhandled build mode %d", ctxt.BuildMode)
    	}
    
    	// If the runtime is one of the packages we are building,
    	// initialize the runtime_inittasks variable.
    	ldr := ctxt.loader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. src/cmd/link/internal/x86/obj.go

    			Reloc1:    elfreloc1,
    			RelocSize: 8,
    			SetupPLT:  elfsetupplt,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    
    	case objabi.Hplan9: /* plan 9 */
    		ld.HEADR = 32
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 4096
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top