summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2023-01-10 10:24:14 +0300
committerPaul E. McKenney <paulmck@kernel.org>2023-01-11 00:33:55 +0300
commit20470dfd656ef71145d78102b540f73a11748182 (patch)
treea989481adab6d03bfb8f535324660a08afb79283 /scripts/lib
parent7f8548589661d5edbde4c343e4971117585da2f5 (diff)
downloadlinux-20470dfd656ef71145d78102b540f73a11748182.tar.xz
tools/nolibc: enable support for thumb1 mode for ARM
Passing -mthumb to the kernel.org arm toolchain failed to build because it defaults to armv5 hence thumb1, which has a fairly limited instruction set compared to thumb2 enabled with armv7 that is much more complete. It's not very difficult to adjust the instructions to also build on thumb1, it only adds a total of 3 instructions, so it's worth doing it at least to ease use by casual testers. It was verified that the adjusted code now builds and works fine for armv5, thumb1, armv7 and thumb2, as long as frame pointers are not used. Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions