Author: emaste
Date: Tue Jun  9 14:20:16 2020
New Revision: 361966
URL: https://svnweb.freebsd.org/changeset/base/361966

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
  
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/11/sys/sys/elf_common.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/sys/elf_common.h
==============================================================================
--- stable/11/sys/sys/elf_common.h      Tue Jun  9 14:16:18 2020        
(r361965)
+++ stable/11/sys/sys/elf_common.h      Tue Jun  9 14:20:16 2020        
(r361966)
@@ -732,6 +732,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 */
_______________________________________________
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"

Reply via email to