浏览代码

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 年之前
父节点
当前提交
68f835557c
共有 1 个文件被更改,包括 1 次插入0 次删除
  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);