platform_bionic/linker
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 de0fb393ae)
2015-07-26 08:23:01 -07:00
..
arch Fix mips/mips64 build 2014-07-28 21:03:17 -07:00
tests General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
Android.mk Replace spaces with tabs in a Makefile. 2015-07-15 16:19:59 -07:00
debugger.cpp Fix regression in crash reporting 2015-05-15 09:28:10 -07:00
dlfcn.cpp Fix potential race condition on dlopen 2015-07-17 10:36:10 -07:00
linked_list.h Support symbol versioning 2015-04-16 17:57:30 -07:00
linker.cpp Restore protection flags for ifunc during relocs. 2015-07-26 08:23:01 -07:00
linker.h Respect caller DT_RUNPATH in dlopen(). 2015-07-07 10:56:06 -07:00
linker_allocator.cpp General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_allocator.h General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_block_allocator.cpp Rename LinkerAllocator and LinkerAllocatorPage 2015-03-10 15:43:50 -07:00
linker_block_allocator.h General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_debug.h Simplify three copyright headers. 2015-05-12 10:10:01 -07:00
linker_libc_support.c Add a dummy atexit(3) to the linker. 2014-09-24 10:26:41 -07:00
linker_memory.cpp General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_mips.cpp [MIPS] Support FR=0 emulation on FR=1 64-bit FP registers 2015-06-24 16:43:19 -07:00
linker_phdr.cpp A special linker for ASan executables. 2015-07-14 16:12:27 -07:00
linker_phdr.h A special linker for ASan executables. 2015-07-14 16:12:27 -07:00
linker_reloc_iterators.h Fix long lines and replace macros with functions. 2015-03-31 11:49:25 -07:00
linker_relocs.h Refactor soinfo::relocate 2015-01-09 14:57:53 -08:00
linker_sdk_versions.cpp Improve library lookup logic 2015-06-17 17:16:44 -07:00
linker_sleb128.h Always use signed leb128 decoder 2015-04-22 13:29:42 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE Update NOTICE files (the second time today). 2015-05-12 10:44:37 -07:00
rt.cpp More dynamic linker cleanup. 2012-10-30 16:35:38 -07:00