summaryrefslogtreecommitdiffstats
path: root/package/python-pycrypto
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-18 22:08:06 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-30 00:14:48 +0200
commit15a2901d369f7f0087cdc7386ffd43ed28bb9c71 (patch)
treee5375d4291ff2b59232a159fbfe92a1525afe264 /package/python-pycrypto
parent39be6f6bdad6b77a7540f6c9f299e02726b4a469 (diff)
downloadbuildroot-15a2901d369f7f0087cdc7386ffd43ed28bb9c71.tar.gz
buildroot-15a2901d369f7f0087cdc7386ffd43ed28bb9c71.zip
uclibc: add patches to simplify Thumb handling
This commit adds a number of patches to uClibc that radically simplifies the Thumb handling. uClibc currently has three options that you need to toggle on Thumb configurations depending on the specific ARM CPU being targeted. However, it turns out that none of those options are necessary: - USE_BX can simply be guessed by looking at the ARM core being used. The bx instruction is available for all ARM cores >= ARMv4T. This is exactly what glibc is doing. - USE_LDREXSTREX can also be guessed by looking at the ARM core being used: whenever you have Thumb2, ldrex/strex is available. - COMPILE_IN_THUMB becomes useless, since all it does is passing -mthumb. But just like the uClibc config options to set --march=<foo> have been removed a long time ago, there's no need to -have an option to pass -mthumb. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-pycrypto')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud