mirror of
https://github.com/charlesap/nasm-uefi
synced 2026-08-26 12:23:04 -04:00
remove data in relocatable section
This commit is contained in:
parent
ce433dd5b9
commit
a5c461f9d9
2 changed files with 5 additions and 5 deletions
BIN
uefi.iso
BIN
uefi.iso
Binary file not shown.
10
yo.asm
10
yo.asm
|
|
@ -30,7 +30,7 @@ OHEADER:
|
|||
dd 4096 ; file alignment
|
||||
dq 0 ; os maj, min, image maj, min
|
||||
dq 0 ; subsys maj, min, reserved
|
||||
dd 28672 ; image size
|
||||
dd 0x5000 ; image size
|
||||
dd 4096 ; headers size
|
||||
dd 0 ; checksum
|
||||
dd 0x0040000A ; dll characteristics & subsystem
|
||||
|
|
@ -73,9 +73,9 @@ SECTS:
|
|||
|
||||
.3:
|
||||
dq `.reloc`
|
||||
dd 8192
|
||||
dd 0
|
||||
dd 20480
|
||||
dd 8192
|
||||
dd 0
|
||||
dd 20480
|
||||
dq 0
|
||||
dd 0
|
||||
|
|
@ -208,7 +208,7 @@ Interface dq 0
|
|||
FB dq 0
|
||||
FBS dq 0
|
||||
MMSize dq 4096
|
||||
MMPtr dq 0x8005000
|
||||
MMPtr dq 0x8004000
|
||||
MMKey dq 0
|
||||
MMDsz dq 48
|
||||
MMDsv dq 0
|
||||
|
|
@ -229,5 +229,5 @@ datasize equ $ - $$
|
|||
|
||||
|
||||
section .reloc follows=.data ;align=64
|
||||
xMMap: times 8192 db 0
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue