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:
Konstantin Belousov 2009-11-26 13:55:49 +00:00
parent 9a6ceacede
commit 45d276ce3c

View File

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