aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2018-08-20 14:25:49 +0200
committerAlexander Graf <agraf@suse.de>2018-08-20 14:25:59 +0200
commit122347f3663e454d73760b4f7ca5c39e680e1e18 (patch)
tree605c97d73fde6c1a07a5420939c922b9f371452d /arch
parent1acbd0ea99e7ebd98a78ffcce4ee174f943cab26 (diff)
downloadu-boot-122347f3663e454d73760b4f7ca5c39e680e1e18.zip
u-boot-122347f3663e454d73760b4f7ca5c39e680e1e18.tar.gz
u-boot-122347f3663e454d73760b4f7ca5c39e680e1e18.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/cpu/ax25/u-boot.lds2
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 3cc8974..c50b964 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 = .;
}