svn commit: r361714 - stable/12/sys/sys
Ed Maste
emaste at FreeBSD.org
Tue Jun 2 00:49:14 UTC 2020
Author: emaste
Date: Tue Jun 2 00:49:13 2020
New Revision: 361714
URL: https://svnweb.freebsd.org/changeset/base/361714
Log:
MFC r361657: elf_common.h: define DF_1_PIE
DF_1_PIE indicates that the object is a position-independent executable.
Reference:
https://docs.oracle.com/cd/E36784_01/html/E36857/chapter6-42444.html
Modified:
stable/12/sys/sys/elf_common.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/sys/elf_common.h
==============================================================================
--- stable/12/sys/sys/elf_common.h Tue Jun 2 00:46:15 2020 (r361713)
+++ stable/12/sys/sys/elf_common.h Tue Jun 2 00:49:13 2020 (r361714)
@@ -762,6 +762,7 @@ typedef struct {
#define DF_1_ORIGIN 0x00000080 /* Process $ORIGIN */
#define DF_1_INTERPOSE 0x00000400 /* Interpose all objects but main */
#define DF_1_NODEFLIB 0x00000800 /* Do not search default paths */
+#define DF_1_PIE 0x08000000 /* Is position-independent executable */
/* Values for l_flags. */
#define LL_NONE 0x0 /* no flags */
More information about the svn-src-stable-12
mailing list