mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-13 14:50:17 +00:00
(_dl_relocate_object): Add call to flush cache after .text segment
fixups.
This commit is contained in:
parent
0970b1c090
commit
d451c72432
@ -126,6 +126,10 @@ _dl_relocate_object (struct link_map *l, struct r_scope_elem *scope[],
|
|||||||
if (__mprotect (mapstart, mapend - mapstart, prot) < 0)
|
if (__mprotect (mapstart, mapend - mapstart, prot) < 0)
|
||||||
_dl_signal_error (errno, l->l_name,
|
_dl_signal_error (errno, l->l_name,
|
||||||
"can't restore segment prot after reloc");
|
"can't restore segment prot after reloc");
|
||||||
|
|
||||||
|
#ifdef CLEAR_CACHE
|
||||||
|
CLEAR_CACHE (mapstart, mapend);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user