kernel.lds (657B)
1 ENTRY(__efi_entry) 2 3 __sect_alignment = 0x1000; 4 __image_base = 0x140000000; 5 6 __pe_header_area = 0x1000; 7 __secureboot_cert_area = 0x1000; 8 9 SECTIONS 10 { 11 __image = __image_base; 12 13 .head __image_base : { 14 __head = .; 15 . = . + __pe_header_area; 16 __ehead = ALIGN(__sect_alignment); 17 } 18 19 .text : ALIGN(__sect_alignment) { 20 __text = .; 21 *(.text*) 22 __etext = ALIGN(__sect_alignment); 23 } 24 25 .data : ALIGN(__sect_alignment) { 26 __data = .; 27 *(.data* .rodata* .bss* COMMON) 28 __edata = ALIGN(__sect_alignment); 29 } 30 31 .sbcert : ALIGN(__sect_alignment) { 32 __sbcert = .; 33 . = . + __secureboot_cert_area; 34 __esbcert = ALIGN(__sect_alignment); 35 } =0 36 37 __eimage = .; 38 }