[PATCH] [Driver] [MIPS] make option -mabi gcc compatable

Jia Liu proljc at gmail.com
Tue Feb 26 07:11:30 PST 2013


Hi Dmitri,

On Tue, Feb 26, 2013 at 9:40 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> On Tue, Feb 26, 2013 at 3:25 PM, Jia Liu <proljc at gmail.com> wrote:
>> This patch make clang option -mabi gcc compatable, for most software is compiled
>> by gcc, this patch make clang can compile them.
>
> I don't know this part of the driver, but this kind of driver change
> requires tests.
>

Thank you very much for your guide!

I added a test for it, please review.

> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/

Regards,
Jia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Driver-MIPS-make-option-mabi-gcc-compatable.patch
Type: application/octet-stream
Size: 5393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130226/84b84f01/attachment.obj>


More information about the cfe-commits mailing list