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:
Alex Smith 2012-06-24 17:19:48 +01:00
parent acda52f5e9
commit 035825cdfc

View File

@ -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.*) }