[PATCH] D80872: [ELF] Set DF_1_PIE for -pie

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 09:06:36 PDT 2020


MaskRay marked an inline comment as done.
MaskRay added a comment.

In D80872#2065866 <https://reviews.llvm.org/D80872#2065866>, @jhenderson wrote:

> Loaders that don't recognise the flag presumably won't be adversely affected?


Not affected. Many people think that the spirit of ELF is to ignore what you don't use.
I was inspired by the "ET_EXEC vs ET_DYN" thread on generic-abi.


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