svn commit: r361662 - head/contrib/elftoolchain/readelf

Ed Maste emaste at FreeBSD.org
Sun May 31 15:31:48 UTC 2020


Author: emaste
Date: Sun May 31 15:31:47 2020
New Revision: 361662
URL: https://svnweb.freebsd.org/changeset/base/361662

Log:
  readelf: add more DT_FLAGS_1 flags
  
  Reference:
  https://docs.oracle.com/cd/E36784_01/html/E36857/chapter6-42444.html
  
  > DF_1_SINGLETON  Singleton symbols exist.
  > DF_1_STUB       Object is a stub.
  > DF_1_PIE        Object is a position-independent executable.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/contrib/elftoolchain/readelf/readelf.c

Modified: head/contrib/elftoolchain/readelf/readelf.c
==============================================================================
--- head/contrib/elftoolchain/readelf/readelf.c	Sun May 31 14:43:04 2020	(r361661)
+++ head/contrib/elftoolchain/readelf/readelf.c	Sun May 31 15:31:47 2020	(r361662)
@@ -2901,6 +2901,9 @@ static struct flag_desc dt_flags_1[] = {
 	{ 0x400000,		"NORELOC" },
 	{ 0x800000,		"SYMINTPOSE" },
 	{ 0x1000000,		"GLOBAUDIT" },
+	{ 0x02000000,		"SINGLETON" },
+	{ 0x04000000,		"STUB" },
+	{ DF_1_PIE,		"PIE" },
 	{ 0, NULL }
 };
 


More information about the svn-src-head mailing list