summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Chojnacki <marcinch7@gmail.com>2013-11-10 13:59:47 +0100
committerMichael Bestas <mikeioannina@gmail.com>2013-11-25 20:42:45 +0200
commit852a834bc15b6ddd4bbfa490ae91f778a2990eb6 (patch)
treed4af187c340c175bb6f6eb8b9a261b8ceedb48de
parentc94bb21b3f7cc005642583eca720421af424288e (diff)
downloadbionic-852a834bc15b6ddd4bbfa490ae91f778a2990eb6.zip
bionic-852a834bc15b6ddd4bbfa490ae91f778a2990eb6.tar.gz
bionic-852a834bc15b6ddd4bbfa490ae91f778a2990eb6.tar.bz2
linker: Avoid logcat spam with some blobs
Many of pre-kitkat blobs would emit a "text relocations" warning which makes logcat completely unreadable. This commit will hide this warning to prevent it. Change-Id: I8f32b5bbfea33d732320b3ac29da6b0027fbd521
-rw-r--r--linker/linker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp
index 623be29..d776bdf 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -1531,7 +1531,7 @@ static bool soinfo_link_image(soinfo* si) {
* phdr_table_protect_segments() after all of them are applied
* and all constructors are run.
*/
- DL_WARN("%s has text relocations. This is wasting memory and is "
+ DEBUG("%s has text relocations. This is wasting memory and is "
"a security risk. Please fix.", si->name);
if (phdr_table_unprotect_segments(si->phdr, si->phnum, si->load_bias) < 0) {
DL_ERR("can't unprotect loadable segments for \"%s\": %s",