Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MachoAddRebase (0.37 sec)

  1. src/cmd/link/internal/amd64/asm.go

    		}
    
    		if target.IsDarwin() {
    			// Mach-O relocations are a royal pain to lay out.
    			// They use a compact stateful bytecode representation.
    			// Here we record what are needed and encode them later.
    			ld.MachoAddRebase(s, int64(r.Off()))
    			// Not mark r done here. So we still apply it statically,
    			// so in the file content we'll also have the right offset
    			// to the relocation target. So it can be examined statically
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/macho.go

    // entries as we go and build the table at the end.
    type machoRebaseRecord struct {
    	sym loader.Sym
    	off int64
    }
    
    var machorebase []machoRebaseRecord
    
    func MachoAddRebase(s loader.Sym, off int64) {
    	machorebase = append(machorebase, machoRebaseRecord{s, off})
    }
    
    // A bind entry tells the dynamic linker the data at GOT+off should be bound
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/arm64/asm.go

    		}
    
    		if target.IsDarwin() {
    			// Mach-O relocations are a royal pain to lay out.
    			// They use a compact stateful bytecode representation.
    			// Here we record what are needed and encode them later.
    			ld.MachoAddRebase(s, int64(r.Off()))
    			// Not mark r done here. So we still apply it statically,
    			// so in the file content we'll also have the right offset
    			// to the relocation target. So it can be examined statically
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
Back to top