Small update to checkStaticDataSize.sh script

This commit is contained in:
pelya
2011-03-25 17:14:06 +02:00
parent 870193c7db
commit 5545d3d131
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +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
objdump -x project/obj/local/armeabi/libapplication.so | grep ' ' | sed 's/.* /0x/' | sort -n | xargs -n 2 printf '%d %s\n'

View File

@@ -1 +1 @@
alienblaster
ufoai