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
This commit is contained in:
Ed Maste 2020-05-31 15:31:47 +00:00
parent cd9207569f
commit 796bf3133b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=361662

View file

@ -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 }
};