[PATCH] D53383: [PowerPC] Make no-PIC default to match GCC - LLVM
Joerg Sonnenberger via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 24 13:35:36 PDT 2018
joerg added a comment.
To summarize the discussion on IRC, from my perspective this change is wrong. PPC as architecture is strongly geared towards PIC code. We used to create quite bad position dependent code and I generally don't see the advantage. I can understand wanting to default to PIE (i.e. position independent code with main binary assumption as far as interception is considered). In other words, the middle end generally tended to create better results for position independent codegen. The default behavior of GCC is ephemeral here, IMO.
https://reviews.llvm.org/D53383
More information about the llvm-commits
mailing list