builtins: make the x86_64 compatible with GAS
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 26 Jul 2014 04:03:59 +0000 (04:03 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 26 Jul 2014 04:03:59 +0000 (04:03 +0000)
commit93efc78a0467dc9cd9964153e08f8d28ea14919d
treeb4ca1c19abe08882795abf8daa67c39e19b678d3
parent5896698e2e6d600f26cee9651f46a453060191ff
builtins: make the x86_64 compatible with GAS

The .rodata directive was added on the IA-64 (Itanium) platform.  The LLVM IAS
supports the .rodata on i386 and x86_64 as well.  There is no reason to really
restrict compilation of the builtins to just clang.  By explicitly indicating
that the data is meant to be pushed into the .rodata section via the .section
.rodata, the assembly is made compatible with clang and gcc (with GAS).

This will enable building these routines on the Linux buildbots via CMake.

llvm-svn: 214012
compiler-rt/lib/builtins/x86_64/floatundidf.S
compiler-rt/lib/builtins/x86_64/floatundisf.S
compiler-rt/lib/builtins/x86_64/floatundixf.S