summaryrefslogtreecommitdiffstats
path: root/linker
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2011-02-10 17:02:21 -0800
committerKenny Root <kroot@google.com>2011-02-10 17:02:23 -0800
commit72f9a5c374bf559e9c69a62c1d95304f913ef6b2 (patch)
tree9f5e358d45bd2e60589960f031afdaf715a68556 /linker
parent9c2e97e9d3510f49c6f2697ef47b85f92df524dd (diff)
downloadbionic-72f9a5c374bf559e9c69a62c1d95304f913ef6b2.zip
bionic-72f9a5c374bf559e9c69a62c1d95304f913ef6b2.tar.gz
bionic-72f9a5c374bf559e9c69a62c1d95304f913ef6b2.tar.bz2
Increase SO_MAX to accomodate valgrind
system_server loads up 87 shared libraries upon start. Running under valgrind pushes this just over the edge of 96. Increase SO_MAX to 128 to give us some more headroom. Change-Id: Iadceb14ab6d9621bdccd292570d50867828057d9
Diffstat (limited to 'linker')
-rw-r--r--linker/linker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linker.c b/linker/linker.c
index c4f54f7..5a9dccf 100644
--- a/linker/linker.c
+++ b/linker/linker.c
@@ -54,7 +54,7 @@
#include "ba.h"
#define ALLOW_SYMBOLS_FROM_MAIN 1
-#define SO_MAX 96
+#define SO_MAX 128
/* Assume average path length of 64 and max 8 paths */
#define LDPATH_BUFSIZE 512