This change follows up defaults for GCC and Clang, so LLVM does not differ
from them. While number of the test files are touched with this change, they
all keep the old (expected) behaviour with the explicit option:
"-relocation-model=pic"
The tests that have not been touched are insensitive to relocation model.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM.
I had thought that this introduced strange defaults for Linux but it turned that our toolchains are a bit inconsistent about the behaviour of -fpic/-fno-pic. Our 'mti' and 'img' toolchains work as you'd expect but Debian's acts like -fpic when given -fno-pic.