diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2023-08-18 21:09:37 +0200 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2023-08-18 21:09:37 +0200 |
commit | 62945bb811169ffac7cf22c64b6dd3a3ad8d38f0 (patch) | |
tree | ef858ef4114c20c39764935ade124f958224adc8 /llvm/lib/CodeGen/BasicBlockSections.cpp | |
parent | 2de024ef311d082c6a435d638efb99b923cca2d8 (diff) | |
download | llvm-62945bb811169ffac7cf22c64b6dd3a3ad8d38f0.zip llvm-62945bb811169ffac7cf22c64b6dd3a3ad8d38f0.tar.gz llvm-62945bb811169ffac7cf22c64b6dd3a3ad8d38f0.tar.bz2 |
[Driver] Add PIE support on Solaris
`clang` currently lacks PIE support on Solaris. This patch fixes this,
also linking with `crtbeginS.o` and `crtendS.o` for `-pie` and `-shared`.
Tested on `amd64-pc-solaris2.11`, `sparcv9-sun-solaris2.11`, and
`x86_64-pc-linux-gnu`.
Differential Revision: https://reviews.llvm.org/D158206
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions