Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for computeTLSOffset (0.28 sec)

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

    	AtExit(func() {
    		if nerrors > 0 {
    			ctxt.Out.ErrorClose()
    			mayberemoveoutfile()
    		}
    	})
    
    	return ctxt
    }
    
    // computeTLSOffset records the thread-local storage offset.
    // Not used for Android where the TLS offset is determined at runtime.
    func (ctxt *Link) computeTLSOffset() {
    	switch ctxt.HeadType {
    	default:
    		log.Fatalf("unknown thread-local storage offset for %v", ctxt.HeadType)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 19:28:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/main.go

    		} else {
    			Errorf(nil, "unknown benchmark flag: %q", *benchmarkFlag)
    			usage()
    		}
    	}
    
    	bench.Start("libinit")
    	libinit(ctxt) // creates outfile
    	bench.Start("computeTLSOffset")
    	ctxt.computeTLSOffset()
    	bench.Start("Archinit")
    	thearch.Archinit(ctxt)
    
    	if ctxt.linkShared && !ctxt.IsELF {
    		Exitf("-linkshared can only be used on elf systems")
    	}
    
    	if ctxt.Debugvlog != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top