[U-Boot] [PATCH 3/5] ARM: spl: include arm/thumb glue sections

Stefano Babic sbabic at denx.de
Fri Apr 27 08:59:42 UTC 2018


On 21/04/2018 17:11, Mans Rullgard wrote:
> 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 at mansr.com>
> ---
>  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);
> 
Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list