[PATCH] FreeBSD: Set the ARM EABI version when using an external assembler

Andrew Turner andrew at fubar.geek.nz
Sat Mar 16 17:49:02 PDT 2013

On FreeBSD when we build ARM EABI elf files with clang the EABI version
bits in elf flags field are unset. According the the ABI documentation
this indicates an unknown conformance level.

The attached patch sets the EABI value to the same as if the LLVM
integrated assembler was used, i.e. 5. It also updates the FreeBSD
Driver test to check the value is set.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-eabi-version.diff
Type: text/x-patch
Size: 938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130317/24751008/attachment.bin>

More information about the cfe-commits mailing list