[PATCH] D80871: [Object] Add DF_1_PIE
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 1 02:05:48 PDT 2020
jhenderson accepted this revision.
jhenderson added a comment.
This revision is now accepted and ready to land.
LGTM.
================
Comment at: llvm/include/llvm/BinaryFormat/ELF.h:1299
DF_1_GLOBAUDIT = 0x01000000, // Global auditing required.
- DF_1_SINGLETON = 0x02000000 // Singleton symbols are used.
+ DF_1_SINGLETON = 0x02000000, // Singleton symbols are used.
+ DF_1_PIE = 0x08000000, // Object is a position-independent executable.
----------------
There's an obvious gap here: what is `0x04000000`? Should we support that too?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80871/new/
https://reviews.llvm.org/D80871
More information about the llvm-commits
mailing list