Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157046816
D14508.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
519 B
Referenced Files
None
Subscribers
None
D14508.diff
View Options
Index: sys/conf/ldscript.amd64
===================================================================
--- sys/conf/ldscript.amd64
+++ sys/conf/ldscript.amd64
@@ -72,6 +72,11 @@
PROVIDE (__etext = .);
PROVIDE (_etext = .);
PROVIDE (etext = .);
+ /*
+ Align the end of etext to page boundary to prevent
+ overlapping mapping in PTI case.
+ */
+ . = ALIGN(4096);
.rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
.rodata1 : { *(.rodata1) }
.eh_frame_hdr : { *(.eh_frame_hdr) }
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 19, 3:07 AM (20 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33288680
Default Alt Text
D14508.diff (519 B)
Attached To
Mode
D14508: properly align etext and rodata to prevent overlappings in PTI case
Attached
Detach File
Event Timeline
Log In to Comment