riscv: Include bss subsections in linker script
When we build with -fdata-sections we may end up with bss subsections. Our linker script explicitly lists only a single consecutive bss section though. Adapt the statement to also include subsections. Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
1acbd0ea99
commit
122347f366
@ -82,7 +82,7 @@ SECTIONS
|
||||
|
||||
.bss : {
|
||||
__bss_start = .;
|
||||
*(.bss)
|
||||
*(.bss*)
|
||||
. = ALIGN(4);
|
||||
__bss_end = .;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user