Skip to content

Commit 8aad4e5

Browse files
committed
Enable exec stack
We have trampolines in Thunk16. Signed-off-by: Jiaxun Yang <[email protected]>
1 parent de4769d commit 8aad4e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

GNUmakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ override LDFLAGS += \
116116
-z text \
117117
-z max-page-size=0x1000 \
118118
-Wl,--gc-sections \
119+
-Wl,-z,execstack \
119120
-T nyu-efi/src/elf_$(ARCH)_efi.lds
120121

121122
# Use "find" to glob all *.c, *.S, and *.asm{32,64} files in the tree and obtain the

0 commit comments

Comments
 (0)