mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
arm: add read_frequently, read_mostly and exclusive_cache_line sections to linker script.
MFC after: 1 week
This commit is contained in:
parent
1701dfae1b
commit
d98a18d032
1 changed files with 15 additions and 0 deletions
|
|
@ -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 :
|
||||
|
|
|
|||
Loading…
Reference in a new issue