xen/riscv: add .sbss section to .bss

Sometimes variables are located in .sbss section but it won't
be mapped after MMU will be enabled.
To avoid MMU failures .sbss should be mapped

Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
Oleksii Kurochko authored and Jan Beulich committed 2023-06-19 15:47:23 +02:00
1 parent c6df21062b
commit 652ccd1f4a
1 file changed
+1 -1
+1 -1
View File
@@ -149,7 +149,7 @@ SECTIONS
*(.bss.percpu.read_mostly)
. = ALIGN(SMP_CACHE_BYTES);
__per_cpu_data_end = .;
*(.bss .bss.*)
*(.sbss .sbss.* .bss .bss.*)
. = ALIGN(POINTER_ALIGN);
__bss_end = .;
} :text
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.