Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for fini_array (0.2 sec)

  1. src/cmd/cgo/internal/testcarchive/carchive_test.go

    			want = elf.SHT_PROGBITS
    		case ".bss":
    			want = elf.SHT_NOBITS
    		case ".symtab":
    			want = elf.SHT_SYMTAB
    		case ".strtab":
    			want = elf.SHT_STRTAB
    		case ".init_array":
    			want = elf.SHT_INIT_ARRAY
    		case ".fini_array":
    			want = elf.SHT_FINI_ARRAY
    		case ".preinit_array":
    			want = elf.SHT_PREINIT_ARRAY
    		}
    		if want != elf.SHT_NULL && sec.Type != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  2. src/runtime/cgo/gcc_aix_ppc64.c

    	return __cgo_topofstack();
    }
    
    int main(int argc, char **argv) {
    	return runtime_rt0_go(argc, argv);
    }
    
    static void libinit(void) __attribute__ ((constructor));
    
    /*
     * libinit aims to replace .init_array section which isn't available on aix.
     * Using __attribute__ ((constructor)) let gcc handles this instead of
     * adding special code in cmd/link.
     * However, it will be called for every Go programs which has cgo.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/platform/internal/ReadelfBinaryInfoTest.groovy

     0x00000001 (NEEDED)                     Gemeinsame Bibliothek [ld-linux.so.2]
     0x0000000e (SONAME)                     soname der Bibliothek: [heythere]
     0x0000000c (INIT)                       0x198c0
     0x00000019 (INIT_ARRAY)                 0x1a61e8
     0x0000001b (INIT_ARRAYSZ)               12 (Bytes)
     0x00000004 (HASH)                       0x1a1b34
     0x6ffffef5 (GNU_HASH)                   0x1b8
     0x00000005 (STRTAB)                     0xd438
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 23:09:11 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/elf.go

    	switch ctxt.BuildMode {
    	case BuildModeCArchive, BuildModeCShared, BuildModeShared, BuildModePlugin:
    		hasinitarr = true
    	}
    
    	if hasinitarr {
    		shstrtabAddstring(".init_array")
    		shstrtabAddstring(elfRelType + ".init_array")
    	}
    
    	if !*FlagS {
    		shstrtabAddstring(".symtab")
    		shstrtabAddstring(".strtab")
    	}
    	if !*FlagW {
    		dwarfaddshstrings(ctxt, shstrtabAddstring)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  5. src/runtime/stubs.go

    func gcWriteBarrier3()
    func gcWriteBarrier4()
    func gcWriteBarrier5()
    func gcWriteBarrier6()
    func gcWriteBarrier7()
    func gcWriteBarrier8()
    func duffzero()
    func duffcopy()
    
    // Called from linker-generated .initarray; declared for go vet; do NOT call from Go.
    func addmoduledata()
    
    // Injected by the signal handler for panicking signals.
    // Initializes any registers that have fixed meaning at calls but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. src/runtime/asm_loong64.s

    TEXT runtime·goexit(SB),NOSPLIT|NOFRAME|TOPFRAME,$0-0
    	NOOP
    	JAL	runtime·goexit1(SB)	// does not return
    	// traceback from goexit1 must hit code range of goexit
    	NOOP
    
    // This is called from .init_array and follows the platform, not Go, ABI.
    TEXT runtime·addmoduledata(SB),NOSPLIT,$0-0
    	ADDV	$-0x10, R3
    	MOVV	R30, 8(R3) // The access to global variables below implicitly uses R30, which is callee-save
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  7. src/runtime/asm_s390x.s

    	BYTE $0x07; BYTE $0x00; // 2-byte nop
    
    TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    	// Stores are already ordered on s390x, so this is just a
    	// compile barrier.
    	RET
    
    // This is called from .init_array and follows the platform, not Go, ABI.
    // We are overly conservative. We could only save the registers we use.
    // However, since this function is only called once per loaded module
    // performance is unimportant.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/macho.go

    		msect.name = "__nl_symbol_ptr"
    		msect.flag = S_NON_LAZY_SYMBOL_POINTERS
    		msect.res1 = uint32(ctxt.loader.SymSize(ctxt.ArchSyms.LinkEditPLT) / 4) /* offset into indirect symbol table */
    	}
    
    	if sect.Name == ".init_array" {
    		msect.name = "__mod_init_func"
    		msect.flag = S_MOD_INIT_FUNC_POINTERS
    	}
    
    	// Some platforms such as watchOS and tvOS require binaries with
    	// bitcode enabled. The Go toolchain can't output bitcode, so use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  9. src/runtime/asm_arm.s

    	MOVW	R0, R3
    	MOVW	$1125899907, R1
    	MULLU	R1, R0, (R0, R1)
    	MOVW	R0>>18, R0
    	MOVW	$1000000, R1
    	MULU	R0, R1
    	SUB	R1, R3, R1
    	RET
    
    // This is called from .init_array and follows the platform, not Go, ABI.
    TEXT runtime·addmoduledata(SB),NOSPLIT,$0-0
    	MOVW	R9, saver9-4(SP) // The access to global variables below implicitly uses R9, which is callee-save
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/pe.go

    func (f *peFile) addInitArray(ctxt *Link) *peSection {
    	// The size below was determined by the specification for array relocations,
    	// and by observing what GCC writes here. If the initarray section grows to
    	// contain more than one constructor entry, the size will need to be 8 * constructor_count.
    	// However, the entire Go runtime is initialized from just one function, so it is unlikely
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
Back to top