]> git.sur5r.net Git - u-boot/commitdiff
ARM: spl: include arm/thumb glue sections
authorMans Rullgard <mans@mansr.com>
Sat, 21 Apr 2018 15:11:08 +0000 (16:11 +0100)
committerStefano Babic <sbabic@denx.de>
Fri, 27 Apr 2018 07:32:54 +0000 (09:32 +0200)
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>
arch/arm/cpu/u-boot-spl.lds

index 65f7b68861e28b201d47f8565815c283a3279f7b..38fc9b44c8c7f1a26b19a34f703f35523acf00d5 100644 (file)
@@ -21,6 +21,7 @@ SECTIONS
                *(.vectors)
                CPUDIR/start.o (.text*)
                *(.text*)
+               *(.glue*)
        }
 
        . = ALIGN(4);