Browse Source

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>
Alexander Graf 6 years ago
parent
commit
122347f366
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/riscv/cpu/ax25/u-boot.lds

+ 1 - 1
arch/riscv/cpu/ax25/u-boot.lds

@@ -82,7 +82,7 @@ SECTIONS
 
 	.bss : {
         __bss_start = .;
-        *(.bss)
+        *(.bss*)
 		. = ALIGN(4);
 		__bss_end = .;
 	}