[cfe-commits] [Patch] Initial FreeBSD ARM support

Dmitri Gribenko gribozavr at gmail.com
Thu Dec 6 03:11:37 PST 2012


On Thu, Dec 6, 2012 at 12:51 PM, Andrew Turner <andrew at fubar.geek.nz> wrote:
> After discussing the previous patch with David Chisnall I have updated
> the patch.
>
> In this patch I have:
> 1. Stopped defining __FreeBSD_ARCH_armv6__ as it is unneeded, the
> FreeBSD source that relies on it will be fixed
> 2. Updated a comment to make it clearer the floating point abi is the
> default and can be overridden.
>
> This patch also contains the tests from the previous one and should be
> ready to commit.

+// RUN: %clang %s -S -o %t.s -Werror 2>&1 \
+// RUN:     -target arm-unknown-freebsd10.0

Nit: please move 2>&1 to the very end of the command and put the whole
thing on a single line -- it looks a bit funny.

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>*/



More information about the cfe-commits mailing list