mirror of
https://review.haiku-os.org/haiku
synced 2025-02-05 13:24:56 +01:00
Align the start of the kernel .data to a 2MB boundary, prevents ld from merging the text and data PHDRs.
This commit is contained in:
parent
acda52f5e9
commit
035825cdfc
@ -28,8 +28,8 @@ SECTIONS
|
||||
|
||||
.rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
|
||||
|
||||
/* writable data */
|
||||
. = ALIGN(0x1000);
|
||||
/* writable data */
|
||||
. = ALIGN (0x200000);
|
||||
__data_start = .;
|
||||
.data : { *(.data .data.* .gnu.linkonce.d.*) }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user