[PATCH] [arm] Implement ARM .arch directive.
renato.golin at linaro.org
Tue Nov 12 01:57:21 PST 2013
I agree with Richard's analysis about having it on too many places. Though, I can't offer you a better implementation.
About the .arch, I seem to remember GAS blatanly ignoring the options and re-setting all of them based on .arch/.cpu/.fpu, so that might have an effect where you'll overwrite some of the attributes on your object files that were not emmitted on your asm file. Though, I agree, this is a bug in GAS, and should not be "fixed" here, I'm just making sure you have tested on recent assemblers to make sure no odd behaviour will come from it.
More information about the llvm-commits