Support Solaris unused sections' gc link syntax.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 22 Jun 2015 15:06:17 +0000 (15:06 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 22 Jun 2015 15:06:17 +0000 (15:06 +0000)
commitc32ed570bf5754ce5ddc46ae6e9a5e7cd2a26dc3
treece2f42b33e060b0b804d6eb13c32e8038072f183
parent99f5fc937f1042b24188a92bf2fe40f151d023bb
Support Solaris unused sections' gc link syntax.

It is not clear if this would work or not with LLVM_NO_DEAD_STRIP
binaries, so be conservative for now.

Patch by Xan López.

llvm-svn: 240287
llvm/cmake/modules/AddLLVM.cmake