summaryrefslogtreecommitdiff
path: root/nuttx/include/nxflat.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-25 12:44:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-25 12:44:55 +0000
commit0ffd3b6c84610350f6880e044a2f64a4f8cf55d9 (patch)
treedcd56d76f7a8bdfa211661c803171d7d6c278a86 /nuttx/include/nxflat.h
parent855e18e540b2973634c70dc2a90e306b1567b49c (diff)
downloadpx4-nuttx-0ffd3b6c84610350f6880e044a2f64a4f8cf55d9.tar.gz
px4-nuttx-0ffd3b6c84610350f6880e044a2f64a4f8cf55d9.tar.bz2
px4-nuttx-0ffd3b6c84610350f6880e044a2f64a4f8cf55d9.zip
Make all counts 16-bit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1946 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/nxflat.h')
-rw-r--r--nuttx/include/nxflat.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/nuttx/include/nxflat.h b/nuttx/include/nxflat.h
index f65310244..8e551b252 100644
--- a/nuttx/include/nxflat.h
+++ b/nuttx/include/nxflat.h
@@ -109,11 +109,9 @@ struct nxflat_hdr_s
* h_relocstart - Offset to the beginning of an array of relocation
* records (struct nxflat_reloc). The offset is
* relative to the start of the file
- * h_reloccount - The number of relocation records in the arry
*/
uint32 h_relocstart; /* Offset of relocation records */
- uint32 h_reloccount; /* Number of relocation records */
/* Imported symbol table (NOTE no symbols are exported):
*
@@ -124,10 +122,17 @@ struct nxflat_hdr_s
* array contains an uint32 offset (again from
* the beginning of the file) to the name of
* a symbol string. This string is null-terminated.
- * h_importcount - The number of records in the h_exportsymbols array.
*/
uint32 h_importsymbols; /* Offset to list of imported symbols */
+
+ /* 16-bit counts
+ *
+ * h_reloccount - The number of relocation records in the arry
+ * h_importcount - The number of records in the h_importsymbols array.
+ */
+
+ uint16 h_reloccount; /* Number of relocation records */
uint16 h_importcount; /* Number of imported symbols */
};