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