Dmitriy Ivanov ec83a61c8b Restore protection flags for ifunc during relocs.
IFUNC relocations require executable flag for the load
segment containing .text. When dso has text relocs linker
removes exec which causes crash during ifunc relocations.

This patch fixes this problem by restoring segments protection
for ifunc relocs.

Bug: http://b/22611399
Change-Id: Icbf3be0fec0e42bf805bcad7533e2032a2e11b9c
(cherry picked from commit de0fb393ae8136a5958fe17eee0c6285e2f7f91a)
2015-07-26 08:23:01 -07:00
..
2014-07-28 21:03:17 -07:00
2015-05-15 09:28:10 -07:00
2015-04-16 17:57:30 -07:00
2015-01-09 14:57:53 -08:00
2012-10-30 16:35:38 -07:00