diff options
author | Ed Maste <emaste@FreeBSD.org> | 2020-06-02 22:55:51 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2020-06-02 22:55:51 +0000 |
commit | 4e99f45480598189d49d45a825533a6c9e12f02c (patch) | |
tree | 0db33243be991414886946299254440080fa9267 | |
parent | 6bc40d8d83e01849a2f43f34280e431f595b91ab (diff) | |
download | src-test2-4e99f45480598189d49d45a825533a6c9e12f02c.tar.gz src-test2-4e99f45480598189d49d45a825533a6c9e12f02c.zip |
Notes
-rw-r--r-- | contrib/llvm-project/llvm/include/llvm/BinaryFormat/ELF.h | 3 | ||||
-rw-r--r-- | contrib/llvm-project/llvm/tools/llvm-readobj/ELFDumper.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ELF.h b/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ELF.h index caab91da9c83..6488aeb7e41e 100644 --- a/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ELF.h +++ b/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ELF.h @@ -1290,7 +1290,8 @@ enum { DF_1_NORELOC = 0x00400000, DF_1_SYMINTPOSE = 0x00800000, // Object has individual interposers. 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. }; // DT_MIPS_FLAGS values. diff --git a/contrib/llvm-project/llvm/tools/llvm-readobj/ELFDumper.cpp b/contrib/llvm-project/llvm/tools/llvm-readobj/ELFDumper.cpp index 8ffb68283405..03ffdf8a5747 100644 --- a/contrib/llvm-project/llvm/tools/llvm-readobj/ELFDumper.cpp +++ b/contrib/llvm-project/llvm/tools/llvm-readobj/ELFDumper.cpp @@ -2213,7 +2213,8 @@ static const EnumEntry<unsigned> ElfDynamicDTFlags1[] = { LLVM_READOBJ_DT_FLAG_ENT(DF_1, NORELOC), LLVM_READOBJ_DT_FLAG_ENT(DF_1, SYMINTPOSE), LLVM_READOBJ_DT_FLAG_ENT(DF_1, GLOBAUDIT), - LLVM_READOBJ_DT_FLAG_ENT(DF_1, SINGLETON) + LLVM_READOBJ_DT_FLAG_ENT(DF_1, SINGLETON), + LLVM_READOBJ_DT_FLAG_ENT(DF_1, PIE), }; static const EnumEntry<unsigned> ElfDynamicDTMipsFlags[] = { |