Author: emaste Date: Tue Jun 9 00:26:30 2020 New Revision: 361947 URL: https://svnweb.freebsd.org/changeset/base/361947
Log: MFC r361739: llvm: Add DF_1_PIE Sponsored by: The FreeBSD Foundation Modified: stable/11/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ELF.h stable/11/contrib/llvm-project/llvm/tools/llvm-readobj/ELFDumper.cpp Directory Properties: stable/11/ (props changed) stable/11/contrib/llvm-project/llvm/ (props changed) Modified: stable/11/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ELF.h ============================================================================== --- stable/11/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ELF.h Tue Jun 9 00:25:53 2020 (r361946) +++ stable/11/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ELF.h Tue Jun 9 00:26:30 2020 (r361947) @@ -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. Modified: stable/11/contrib/llvm-project/llvm/tools/llvm-readobj/ELFDumper.cpp ============================================================================== --- stable/11/contrib/llvm-project/llvm/tools/llvm-readobj/ELFDumper.cpp Tue Jun 9 00:25:53 2020 (r361946) +++ stable/11/contrib/llvm-project/llvm/tools/llvm-readobj/ELFDumper.cpp Tue Jun 9 00:26:30 2020 (r361947) @@ -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[] = { _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"