mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2025-02-25 18:55:23 -06:00
Support direct 64-bit EFI boot.
This commit is contained in:
25
build64/ldscripts/memtest_efi.lds
Normal file
25
build64/ldscripts/memtest_efi.lds
Normal file
@@ -0,0 +1,25 @@
|
||||
OUTPUT_FORMAT("binary")
|
||||
OUTPUT_ARCH(i386:x86-64)
|
||||
|
||||
ENTRY(boot);
|
||||
SECTIONS {
|
||||
. = 0;
|
||||
.header : {
|
||||
*(.header)
|
||||
}
|
||||
.setup : {
|
||||
*(.setup)
|
||||
}
|
||||
. = ALIGN(512);
|
||||
.text : {
|
||||
_text_start = . ;
|
||||
*(.data)
|
||||
. = ALIGN(512);
|
||||
_text_end = . ;
|
||||
}
|
||||
|
||||
_text_size = (_text_end - _text_start);
|
||||
|
||||
_sys_size = _text_size >> 4;
|
||||
_init_size = _text_size;
|
||||
}
|
||||
Reference in New Issue
Block a user