Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176495154
D13941.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
894 B
Referenced Files
None
Subscribers
None
D13941.id.diff
View Options
Index: stand/efi/boot1/Makefile
===================================================================
--- stand/efi/boot1/Makefile
+++ stand/efi/boot1/Makefile
@@ -60,7 +60,7 @@
FILESMODE_boot1.efi= ${BINMODE}
LDSCRIPT= ${EFISRC}/loader/arch/${MACHINE}/ldscript.${MACHINE}
-LDFLAGS+= -Wl,-T${LDSCRIPT},-Bsymbolic,-znotext -shared
+LDFLAGS+= -Wl,-T${LDSCRIPT},-Bsymbolic,-znorelro,-znotext -shared
.if ${MACHINE_CPUARCH} == "aarch64"
CFLAGS+= -mgeneral-regs-only
Index: stand/efi/loader/Makefile
===================================================================
--- stand/efi/loader/Makefile
+++ stand/efi/loader/Makefile
@@ -89,7 +89,7 @@
FILESMODE_loader.efi= ${BINMODE}
LDSCRIPT= ${.CURDIR}/arch/${MACHINE}/ldscript.${MACHINE}
-LDFLAGS+= -Wl,-T${LDSCRIPT},-Bsymbolic,-znotext -shared
+LDFLAGS+= -Wl,-T${LDSCRIPT},-Bsymbolic,-znorelro,-znotext -shared
CLEANFILES+= loader.efi
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 20, 7:47 AM (9 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41099810
Default Alt Text
D13941.id.diff (894 B)
Attached To
Mode
D13941: stand: use -z norelro when linking EFI components
Attached
Detach File
Event Timeline
Log In to Comment