Script to check static data size in a libapplication.so

This commit is contained in:
pelya
2011-01-17 15:58:10 +00:00
parent aa6ca924eb
commit 9de018c3d8
2 changed files with 8 additions and 0 deletions

4
checkStaticDataSize.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
# Output static/global symbols in a application lib to check if someone allocated 200 Mb static temp array.
# Used to resolve linker errors such as: Cannot load library: alloc_mem_region[815]: OOPS: 54 cannot map library 'libapplication.so'. no vspace available.
objdump -x project/obj/local/armeabi/libapplication.so | grep ' ' | sed 's/.* /0x/' | sort -n