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)
commitfc3dae1cd04cb58c330ed5bc7b833b612b160fb2
tree3081aaba1d60656c3f958ea304d0d9c0e39e9d3e
parent8204fb27acb0b5d1c32ee40af5eedde9eca811b2
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240287 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake