summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/u-boot-spl.lds
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2018-04-21 16:11:08 +0100
committerStefano Babic <sbabic@denx.de>2018-04-27 09:32:54 +0200
commit68f835557c3f2e5ad24b9cb1a11d85fc8fca6f1e (patch)
tree776cfbd38f43300c2f9f43c57496f4f25a4fb1f9 /arch/arm/cpu/u-boot-spl.lds
parentda372af6e40d84e8a47baa41d22dd3e953469b74 (diff)
ARM: spl: include arm/thumb glue sections
When building in Thumb mode, the linker might generate mode switching stubs in .glue sections. Include these in the final link. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'arch/arm/cpu/u-boot-spl.lds')
-rw-r--r--arch/arm/cpu/u-boot-spl.lds1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/cpu/u-boot-spl.lds b/arch/arm/cpu/u-boot-spl.lds
index 65f7b68861..38fc9b44c8 100644
--- a/arch/arm/cpu/u-boot-spl.lds
+++ b/arch/arm/cpu/u-boot-spl.lds
@@ -21,6 +21,7 @@ SECTIONS
*(.vectors)
CPUDIR/start.o (.text*)
*(.text*)
+ *(.glue*)
}
. = ALIGN(4);