diff options
author | Alexander Graf <agraf@suse.de> | 2018-08-20 14:25:49 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-08-20 14:25:59 +0200 |
commit | 122347f3663e454d73760b4f7ca5c39e680e1e18 (patch) | |
tree | 605c97d73fde6c1a07a5420939c922b9f371452d | |
parent | 1acbd0ea99e7ebd98a78ffcce4ee174f943cab26 (diff) | |
download | u-boot-122347f3663e454d73760b4f7ca5c39e680e1e18.tar.gz |
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>
-rw-r--r-- | arch/riscv/cpu/ax25/u-boot.lds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/cpu/ax25/u-boot.lds b/arch/riscv/cpu/ax25/u-boot.lds index 3cc89746b1..c50b9642f1 100644 --- a/arch/riscv/cpu/ax25/u-boot.lds +++ b/arch/riscv/cpu/ax25/u-boot.lds @@ -82,7 +82,7 @@ SECTIONS .bss : { __bss_start = .; - *(.bss) + *(.bss*) . = ALIGN(4); __bss_end = .; } |