Date: Sun, 8 Dec 2024 13:38:09 GMT From: Michal Meloun <mmel@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: a9956e87506f - stable/13 - arm: add read_frequently, read_mostly and exclusive_cache_line sections to linker script. Message-ID: <202412081338.4B8Dc9S9039631@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mmel: URL: https://cgit.FreeBSD.org/src/commit/?id=a9956e87506f2c1b99d6fddc60a315e8dc18b55e commit a9956e87506f2c1b99d6fddc60a315e8dc18b55e Author: Michal Meloun <mmel@FreeBSD.org> AuthorDate: 2024-11-17 10:39:19 +0000 Commit: Michal Meloun <mmel@FreeBSD.org> CommitDate: 2024-12-08 13:19:42 +0000 arm: add read_frequently, read_mostly and exclusive_cache_line sections to linker script. MFC after: 1 week (cherry picked from commit d98a18d032e6ed3dbae30233d217c6597000e391) --- sys/conf/ldscript.arm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sys/conf/ldscript.arm b/sys/conf/ldscript.arm index 62adb1e773d0..6b44073e26d2 100644 --- a/sys/conf/ldscript.arm +++ b/sys/conf/ldscript.arm @@ -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); _start_ctors = .;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412081338.4B8Dc9S9039631>