]> git.saurik.com Git - apple/xnu.git/blobdiff - EXTERNAL_HEADERS/mach-o/nlist.h
xnu-792.tar.gz
[apple/xnu.git] / EXTERNAL_HEADERS / mach-o / nlist.h
index 91763d098a4aa05c3c25d20fcbdb306f4f3715d6..3fe7c367cdfe4f3ef5c357d403c9a67aaa3b45c5 100644 (file)
@@ -81,6 +81,20 @@ struct nlist {
        unsigned long n_value;  /* value of this symbol (or stab offset) */
 };
 
+/*
+ * This is the symbol table entry structure for 64-bit architectures.
+ */
+struct nlist_64 {
+       union {
+               uint32_t n_strx;        /* index into the string table */
+       } n_un;
+       uint8_t n_type;         /* type flag, see below */
+       uint8_t n_sect;         /* section number or NO_SECT */
+       uint16_t n_desc;        /* see <mach-o/stab.h> */
+       uint64_t n_value;       /* value of this symbol (or stab offset) */
+};
+
+
 /*
  * Symbols with a index into the string table of zero (n_un.n_strx == 0) are
  * defined to have a null, "", name.  Therefore all string indexes to non null