(_dl_relocate_object): Add call to flush cache after .text segment

fixups.
This commit is contained in:
Ulrich Drepper 1999-12-18 22:56:03 +00:00
parent 0970b1c090
commit d451c72432

View File

@ -126,6 +126,10 @@ _dl_relocate_object (struct link_map *l, struct r_scope_elem *scope[],
if (__mprotect (mapstart, mapend - mapstart, prot) < 0)
_dl_signal_error (errno, l->l_name,
"can't restore segment prot after reloc");
#ifdef CLEAR_CACHE
CLEAR_CACHE (mapstart, mapend);
#endif
}
}
}