Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107874322
D24787.id71596.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
855 B
Referenced Files
None
Subscribers
None
D24787.id71596.diff
View Options
Index: stand/efi/boot1/Makefile
===================================================================
--- stand/efi/boot1/Makefile
+++ stand/efi/boot1/Makefile
@@ -65,7 +65,7 @@
FILESMODE_${BOOT1}.efi= ${BINMODE}
LDSCRIPT= ${EFISRC}/loader/arch/${MACHINE}/ldscript.${MACHINE}
-LDFLAGS+= -Wl,-T${LDSCRIPT},-Bsymbolic,-znotext -shared
+LDFLAGS+= -Wl,-T${LDSCRIPT},-Bsymbolic,-znotext -pie
.if ${MACHINE_CPUARCH} == "aarch64"
CFLAGS+= -mgeneral-regs-only
Index: stand/efi/loader/Makefile
===================================================================
--- stand/efi/loader/Makefile
+++ stand/efi/loader/Makefile
@@ -84,7 +84,7 @@
.endif
LDSCRIPT= ${.CURDIR}/../loader/arch/${MACHINE}/ldscript.${MACHINE}
-LDFLAGS+= -Wl,-T${LDSCRIPT},-Bsymbolic,-znotext -shared
+LDFLAGS+= -Wl,-T${LDSCRIPT},-Bsymbolic,-znotext -pie
CLEANFILES+= loader.efi
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 10:04 PM (7 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15962288
Default Alt Text
D24787.id71596.diff (855 B)
Attached To
Mode
D24787: Link efi programs with -pie rather than -shared
Attached
Detach File
Event Timeline
Log In to Comment