svn commit: r361657 - head/sys/sys
Ed Maste
emaste at FreeBSD.org
Sat May 30 19:57:27 UTC 2020
Author: emaste
Date: Sat May 30 19:57:26 2020
New Revision: 361657
URL: https://svnweb.freebsd.org/changeset/base/361657
Log:
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
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/sys/elf_common.h
Modified: head/sys/sys/elf_common.h
==============================================================================
--- head/sys/sys/elf_common.h Sat May 30 19:16:33 2020 (r361656)
+++ head/sys/sys/elf_common.h Sat May 30 19:57:26 2020 (r361657)
@@ -764,6 +764,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-all
mailing list