aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugenis@google.com>2011-03-02 13:42:34 +0300
committerEvgeniy Stepanov <eugenis@google.com>2011-03-02 13:42:34 +0300
commit1d0705b60df96943b75e3ceb084385c4c9d41f18 (patch)
tree06ac2d23c8a9d6f9a7beccb044bc1a0ae3e29fb1 /Android.mk
parent15d420de02e3358683fe87b7590397fd0ca62e7c (diff)
downloadvalgrind-1d0705b60df96943b75e3ceb084385c4c9d41f18.tar.gz
Disable identical code folding for vgpreload*.
ICF can place several Valgrind interceptors at the exact same memory address. Valgrind can not deal with it; it will drop all "extra" names and miss most of the interceptors. Change-Id: Iaf28329991a7ca1fa3be8bf4ddba41e8badb8d20
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 6ed8120e0..f4bcf41c7 100644
--- a/Android.mk
+++ b/Android.mk
@@ -46,7 +46,7 @@ else
tool_ldflags := -static -Wl,-Ttext=0x38000000 -nodefaultlibs -nostartfiles -u _start -e_start
endif
-preload_ldflags := -nodefaultlibs -Wl,-z,interpose,-z,initfirst
+preload_ldflags := -nodefaultlibs -Wl,-z,interpose,-z,initfirst -Wl,--icf=none
# Build libvex-($arch)-linux.a
include $(CLEAR_VARS)