summaryrefslogtreecommitdiffstats
path: root/tools/zipalign/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/zipalign/README.txt')
-rw-r--r--tools/zipalign/README.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/zipalign/README.txt b/tools/zipalign/README.txt
index 9c7d07e53..0b80b3535 100644
--- a/tools/zipalign/README.txt
+++ b/tools/zipalign/README.txt
@@ -5,6 +5,7 @@ usage: zipalign [-f] [-v] <align> infile.zip outfile.zip
-c : check alignment only (does not modify file)
-f : overwrite existing outfile.zip
+ -p : page align stored shared object files
-v : verbose output
<align> is in bytes, e.g. "4" provides 32-bit alignment
infile.zip is an existing Zip archive
@@ -33,3 +34,7 @@ By default, zipalign will not overwrite an existing output file. With the
You can use the "-c" flag to test whether a zip archive is properly aligned.
+The "-p" flag aligns any file with a ".so" extension, and which is stored
+uncompressed in the zip archive, to a 4096-byte page boundary. This
+facilitates directly loading shared libraries from inside a zip archive.
+