[PATCH] D44229: Don't use -pie in relocatable link.
Evgenii Stepanov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 7 15:41:39 PST 2018
eugenis added inline comments.
Comment at: clang/lib/Driver/ToolChains/Gnu.cpp:311
+ if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_static) ||
> We also need to check for -Wl,-r and -Xlinker -r options.
I don't think it is driver's job to parse -Wl or -Xlinker arguments.
There is always -no-pie.
More information about the cfe-commits