efi/riscv64: Fix missing PE32+ sections, fix characteristics
Change-Id: I13726e7b0ca7500edbb6f182d2c2e7caaddfb72e
This commit is contained in:
@@ -47,9 +47,10 @@ coff_header:
|
|||||||
.long 0 // PointerToSymbolTable
|
.long 0 // PointerToSymbolTable
|
||||||
.long 0 // NumberOfSymbols
|
.long 0 // NumberOfSymbols
|
||||||
.short section_table - optional_header // SizeOfOptionalHeader
|
.short section_table - optional_header // SizeOfOptionalHeader
|
||||||
.short 0x206 // Characteristics.
|
.short 0x20e // Characteristics.
|
||||||
// IMAGE_FILE_DEBUG_STRIPPED |
|
// IMAGE_FILE_DEBUG_STRIPPED |
|
||||||
// IMAGE_FILE_EXECUTABLE_IMAGE |
|
// IMAGE_FILE_EXECUTABLE_IMAGE |
|
||||||
|
// IMAGE_FILE_LOCAL_SYMS_STRIPPED |
|
||||||
// IMAGE_FILE_LINE_NUMS_STRIPPED
|
// IMAGE_FILE_LINE_NUMS_STRIPPED
|
||||||
optional_header:
|
optional_header:
|
||||||
.short 0x20b // PE32+ format
|
.short 0x20b // PE32+ format
|
||||||
@@ -94,6 +95,16 @@ extra_header_fields:
|
|||||||
.quad 0 // ExceptionTable
|
.quad 0 // ExceptionTable
|
||||||
.quad 0 // CertificationTable
|
.quad 0 // CertificationTable
|
||||||
.quad 0 // BaseRelocationTable
|
.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
|
||||||
section_table:
|
section_table:
|
||||||
|
|||||||
Reference in New Issue
Block a user