Page MenuHomeFreeBSD

D13941.id.diff
No OneTemporary

D13941.id.diff

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

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)

Event Timeline