Created attachment 438592 [details, diff] allow -mthumb in strip-flags From what I gather thumb2 is the standard and most efficient instruction set for current ARM CPUs. So I'd like to compile my whole armv7 system with thumb2 mode enabled. But strip-flags strips out -mthumb. This causes for example glibc not to be compiled with thumb2 enabled. In my understanding -mthumb is an architecture tuning flag analogous to -mcpu and -mfpu. I have not found any reference to miscompilations or other negative impact caused by it. Can we please allow -mthumb in strip-flags?
Conversely, it should allow -marm as well to disable thumb explicitly.
Added both. commit 9f6a8c6ddf7abf1774b63e40a9785a94ba168fe7 Author: Ryan Hill <rhill@gentoo.org> Date: Thu Jun 30 21:42:09 2016 -0600 flag-o-matic.eclass: Add -mthumb/-marm (bug #586846).