[Buildroot] [PATCH v3 02/10] uclibc: context functions are not Thumb-compatible

Peter Korsgaard peter at korsgaard.com
Fri Apr 8 08:24:08 UTC 2016


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 > On platforms that do support the ARM instruction set, there is no
 > problem, as the context functions are built unconditionally in ARM
 > mode.

 > However, on platforms that only support the Thumb instruction set, the
 > context functions cannot be built since the assembler code is not
 > Thumb-ready. Therefore, these functions must be disabled on such
 > platforms. All Thumb1 platforms support ARM instructions, so this is
 > only relevant for Thumb2-only platforms (i.e., Cortex-M).

 > Note that some packages require the context functions, so these will
 > fail to build on these platforms. It is worth mentioning that musl
 > also doesn't provide the context functions, and those are rarely
 > used. Affected packages will be handled in later patches.

Reworded the commit message slightly and committed, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list