Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150212710
D14508.1791892982.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
519 B
Referenced Files
None
Subscribers
None
D14508.1791892982.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, Oct 13, 12:03 PM (2 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30373266
Default Alt Text
D14508.1791892982.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