Path: blob/master/data/templates/src/elf/exe/elf_zarch_template.s
28810 views
; build with:1; nasm elf_zarch_template.s -f bin -o template_zarch_linux.bin23BITS 64456ehdr: ; Elf32_Ehdr7db 0x7F, "ELF", 2, 2, 1, 0 ; e_ident8db 0, 0, 0, 0, 0, 0, 0, 0 ;9dw 0x0200 ; e_type = ET_EXEC for an executable10dw 0x1600 ; e_machine = ZARCH11dd 0x01000000 ; e_version12dq 0x7810000000000000 ; e_entry13dq 0x4000000000000000 ; e_phoff14dq 0 ; e_shoff15dd 0 ; e_flags16dw 0x4000 ; e_ehsize17dw 0x3800 ; e_phentsize18dw 0x0100 ; e_phnum19dw 0 ; e_shentsize20dw 0 ; e_shnum21dw 0 ; e_shstrndx2223phdr: ; Elf32_Phdr24dd 0x01000000 ; p_type = PT_LOAD25dd 0x07000000 ; p_flags = rwx26dq 0 ; p_offset27dq 0x0010000000000000 ; p_vaddr28dq 0x0010000000000000 ; p_paddr29dq 0xDEADBEEF ; p_filesz30dq 0xDEADBEEF ; p_memsz31dq 0x0000100000000000 ; p_align3233_start:343536