Date: Wed, 30 Aug 2017 19:19:31 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r323028 - head/lib/csu/mips Message-ID: <201708301919.v7UJJVpa086274@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Wed Aug 30 19:19:31 2017 New Revision: 323028 URL: https://svnweb.freebsd.org/changeset/base/323028 Log: Don't include GNU object attributes when building with clang. LLVM's MIPS assembler parser does not understand the GNU as '.gnu_attribute' keyword. This could be re-enabled if LLVM is updated in the future. The desired floating point ABI is already described in the .MIPS.abiflags section. Reviewed by: emaste Sponsored by: DARPA / AFRL Modified: head/lib/csu/mips/crti.S head/lib/csu/mips/crtn.S Modified: head/lib/csu/mips/crti.S ============================================================================== --- head/lib/csu/mips/crti.S Wed Aug 30 18:56:24 2017 (r323027) +++ head/lib/csu/mips/crti.S Wed Aug 30 19:19:31 2017 (r323028) @@ -1,7 +1,9 @@ #include <machine/asm.h> __FBSDID("$FreeBSD$"); +#ifndef __clang__ .gnu_attribute 4, 0 +#endif .section .init,"ax",%progbits .align 4 .globl _init Modified: head/lib/csu/mips/crtn.S ============================================================================== --- head/lib/csu/mips/crtn.S Wed Aug 30 18:56:24 2017 (r323027) +++ head/lib/csu/mips/crtn.S Wed Aug 30 19:19:31 2017 (r323028) @@ -1,7 +1,9 @@ #include <machine/asm.h> __FBSDID("$FreeBSD$"); +#ifndef __clang__ .gnu_attribute 4, 0 +#endif .section .init,"ax",%progbits .align 4 .set noreorder
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708301919.v7UJJVpa086274>