Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103194582
D14282.id39997.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
518 B
Referenced Files
None
Subscribers
None
D14282.id39997.diff
View Options
Index: head/sys/conf/kern.pre.mk
===================================================================
--- head/sys/conf/kern.pre.mk
+++ head/sys/conf/kern.pre.mk
@@ -120,6 +120,10 @@
LDFLAGS+= -Wl,--build-id=sha1
.endif
+.if ${MACHINE_CPUARCH} == "amd64"
+LDFLAGS+= -Wl,-z max-page-size=2097152 -Wl,-z common-page-size=4096
+.endif
+
NORMAL_C= ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.IMPSRC}
NORMAL_S= ${CC:N${CCACHE_BIN}} -c ${ASM_CFLAGS} ${WERROR} ${.IMPSRC}
PROFILE_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 3:03 AM (8 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14781413
Default Alt Text
D14282.id39997.diff (518 B)
Attached To
Mode
D14282: Set the RW/NX bits to protect kernel text and data loaded as part of the main kernel image
Attached
Detach File
Event Timeline
Log In to Comment