arm: align data section to the supersection.

Offset based data section alignment is probably not applicable to any system
other than i386.

MFC after:	4 week
This commit is contained in:
Michal Meloun 2024-11-17 11:50:41 +01:00
parent d98a18d032
commit 60e72eb16a

View File

@ -74,9 +74,7 @@ SECTIONS
_exidx_end = .;
PROVIDE(exidx_end = .);
/* Adjust the address for the data segment. We want to adjust up to
the same address within the page on the next page up. */
. = ALIGN(0x1000) + (. & (0x1000 - 1)) ;
. = ALIGN(0x10000);
.data :
{
*(.data)