Pre-requisite is http://reviews.llvm.org/D8741
sparc_le is renamed to sparcel
Can you add some basic testing in test/Driver for the flag handling, and in test/Preprocessor for the macros that should be predefined?
The preprocessor defines, 'as' flags, and 'ld' flags were coming out wrong (as Chandler guessed). Fix those.