FreeBSD/libexec/rtld-elf/rtld.c
/*
 * Relocate dag rooted in the specified object.
 * Returns 0 on success, or -1 on failure.
 */
Relocate dag rooted in the specified object.
Returns 0 on success, or -1 on failure.
Relocate dag rooted in the specified object . Returns 0 on success or - 1 on failure .
static int
relocate_object_dag(Obj_Entry *root, bool bind_now, Obj_Entry *rtldobj,
    int flags, RtldLockState *lockstate)
{
	Objlist_Entry *elm;
	int error;
	error = 0;
	STAILQ_FOREACH(elm, &root->dagmembers, link) {
		error = relocate_object(elm->obj, bind_now, rtldobj, flags,
		    lockstate);
		if (error == -1)
			break;
	}
	return (error);
}
static int relocate_object_dag ( Obj_Entry * root , bool bind_now , Obj_Entry * rtldobj , int flags , RtldLockState * lockstate ) { Objlist_Entry * elm ; int error ; error = 0 ; STAILQ_FOREACH ( elm , & root -> dagmembers , link ) { error = relocate_object ( elm -> obj , bind_now , rtldobj , flags , lockstate ) ; if ( error == -1 ) break ; } return ( error ) ; }
Relocate dag rooted in the specified object.
Relocate dag rooted in the specified object .