From: Mans Rullgard Date: Sat, 21 Apr 2018 16:11:08 +0100 Subject: [U-Boot] [PATCH 3/5] ARM: spl: include arm/thumb glue sections In-Reply-To: <20180421151110.20423-1-mans@mansr.com> References: <20180421151110.20423-1-mans@mansr.com> Message-ID: <20180421151110.20423-3-mans@mansr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- arch/arm/cpu/u-boot-spl.lds | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/u-boot-spl.lds b/arch/arm/cpu/u-boot-spl.lds index 65f7b68861e2..38fc9b44c8c7 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); -- 2.17.0