arm: add read_frequently, read_mostly and exclusive_cache_line sections to linker script.

MFC after:	1 week
This commit is contained in:
Michal Meloun 2024-11-17 11:39:19 +01:00
parent 1701dfae1b
commit d98a18d032

View file

@ -82,6 +82,21 @@ SECTIONS
*(.data)
*(.gnu.linkonce.d*)
}
. = ALIGN(64);
.data.read_frequently :
{
*(SORT_BY_ALIGNMENT(.data.read_frequently))
}
.data.read_mostly :
{
*(.data.read_mostly)
}
. = ALIGN(64);
.data.exclusive_cache_line :
{
*(.data.exclusive_cache_line)
}
. = ALIGN(64);
.data1 : { *(.data1) }
. = ALIGN(32 / 8);
.init_array :