Browse Source

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>
Mans Rullgard 7 years ago
parent
commit
68f835557c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/arm/cpu/u-boot-spl.lds

+ 1 - 0
arch/arm/cpu/u-boot-spl.lds

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