[PATCH] D80872: [ELF] Set DF_1_PIE for -pie
Ed Maste via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 30 12:11:07 PDT 2020
emaste added inline comments.
================
Comment at: lld/ELF/SyntheticSections.cpp:1320-1321
dtFlags1 |= DF_1_NOOPEN;
+ if (config->pie)
+ dtFlags1 |= DF_1_PIE;
if (config->zNow) {
----------------
should this be in alpha order?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80872/new/
https://reviews.llvm.org/D80872
More information about the llvm-commits
mailing list