mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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:
1 parent
c6df21062b
commit
652ccd1f4a
1 file changed
+1
-1
@@ -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
|
||||
|
||||