summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-07-26 04:03:59 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-07-26 04:03:59 +0000
commit93efc78a0467dc9cd9964153e08f8d28ea14919d (patch)
treeb4ca1c19abe08882795abf8daa67c39e19b678d3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent5896698e2e6d600f26cee9651f46a453060191ff (diff)
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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions