diff --git a/src/system/boot/platform/efi/arch/riscv64/crt0-efi-riscv64.S b/src/system/boot/platform/efi/arch/riscv64/crt0-efi-riscv64.S index c97ea9a657..94bc71c2b5 100644 --- a/src/system/boot/platform/efi/arch/riscv64/crt0-efi-riscv64.S +++ b/src/system/boot/platform/efi/arch/riscv64/crt0-efi-riscv64.S @@ -47,9 +47,10 @@ coff_header: .long 0 // PointerToSymbolTable .long 0 // NumberOfSymbols .short section_table - optional_header // SizeOfOptionalHeader - .short 0x206 // Characteristics. + .short 0x20e // Characteristics. // IMAGE_FILE_DEBUG_STRIPPED | // IMAGE_FILE_EXECUTABLE_IMAGE | + // IMAGE_FILE_LOCAL_SYMS_STRIPPED | // IMAGE_FILE_LINE_NUMS_STRIPPED optional_header: .short 0x20b // PE32+ format @@ -94,6 +95,16 @@ extra_header_fields: .quad 0 // ExceptionTable .quad 0 // CertificationTable .quad 0 // BaseRelocationTable + .quad 0 // Debug + .quad 0 // Architecture + .quad 0 // Global Ptr + .quad 0 // TLS Table + .quad 0 // Load Config Table + .quad 0 // Bound Import + .quad 0 // IAT + .quad 0 // Delay Import Descriptor + .quad 0 // CLR Runtime Header + .quad 0 // Reserved // Section table section_table: