Dmitriy Ivanov de0fb393ae 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
2015-07-26 07:37:09 -07:00
..
2014-07-28 21:03:17 -07:00
2015-05-15 07:48:33 -07:00
2015-06-29 14:48:25 -07:00
2015-04-16 17:57:30 -07:00
2015-01-09 14:57:53 -08:00
2015-06-29 14:48:25 -07:00
2012-10-30 16:35:38 -07:00