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>
This commit is contained in:
Mans Rullgard 2018-04-21 16:11:08 +01:00 committed by Stefano Babic
parent da372af6e4
commit 68f835557c

View File

@ -21,6 +21,7 @@ SECTIONS
*(.vectors) *(.vectors)
CPUDIR/start.o (.text*) CPUDIR/start.o (.text*)
*(.text*) *(.text*)
*(.glue*)
} }
. = ALIGN(4); . = ALIGN(4);