Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFlagR (0.09 sec)

  1. src/cmd/link/elf_test.go

    		t.Fatal(err)
    	}
    
    	for _, s := range ef.Sections {
    		if s.Flags&elf.SHF_ALLOC == 0 && s.Addr != 0 {
    			t.Errorf("section %s should not allocated with addr %x", s.Name, s.Addr)
    		}
    	}
    }
    
    func TestFlagR(t *testing.T) {
    	// Test that using the -R flag to specify a (large) alignment generates
    	// a working binary.
    	// (Test only on ELF for now. The alignment allowed differs from platform
    	// to platform.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top