[mips] Pass the ABI to the integrated assembler and add tests the existing arguments.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 17 Jul 2014 09:46:40 +0000 (09:46 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 17 Jul 2014 09:46:40 +0000 (09:46 +0000)
commit4dcbe810d4f9398d60745f78f0bd0255dbb1b5d1
treecb248c6bc87b7eb5ea95d90ec71cedc1771b6203
parent7d78ab575357e722bc7b7b96fa39b85722554acb
[mips] Pass the ABI to the integrated assembler and add tests the existing arguments.

Summary:
With this patch (and a corresponding LLVM patch), assembling an empty file with
GCC and Clang -fintegrated-as produce near identical objects. The remaining
differences are:
* GCC/GAS produce objects have a .pdr section
* GCC/GAS produce objects have a .gnu.attributes section
Other differences are insignificant such as precise file offsets and the order
of strings in the string table.

Differential Revision: http://reviews.llvm.org/D4531

llvm-svn: 213241
clang/lib/Driver/Tools.cpp
clang/test/Driver/mips-integrated-as.s [new file with mode: 0644]