Flag controlling origin expansion in DT_FLAGS is DF_ORIGIN, not DF_1_ORIGIN.
Reviewed by: kan MFC after: 3 days
This commit is contained in:
parent
9a6ceacede
commit
45d276ce3c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199828
@ -898,7 +898,7 @@ digest_dynamic(Obj_Entry *obj, int early)
|
||||
#endif
|
||||
|
||||
case DT_FLAGS:
|
||||
if ((dynp->d_un.d_val & DF_1_ORIGIN) && trust)
|
||||
if ((dynp->d_un.d_val & DF_ORIGIN) && trust)
|
||||
obj->z_origin = true;
|
||||
if (dynp->d_un.d_val & DF_SYMBOLIC)
|
||||
obj->symbolic = true;
|
||||
|
Loading…
Reference in New Issue
Block a user