mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 15:19:31 -04:00
Mark the EFI PE header as allocated. While ld.bfd doesn't seem to care
about not having this flag ld.lld fails to link without it. Sponsored by: DARPA, AFRL
This commit is contained in:
parent
1eff4c0c37
commit
ffa237e24f
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@
|
|||
#define IMAGE_SCN_MEM_EXECUTE 0x20000000
|
||||
#define IMAGE_SCN_MEM_READ 0x40000000
|
||||
|
||||
.section .peheader
|
||||
.section .peheader,"a"
|
||||
efi_start:
|
||||
/* The MS-DOS Stub, only used to get the offset of the COFF header */
|
||||
.ascii "MZ"
|
||||
|
|
|
|||
Loading…
Reference in a new issue