diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2012-09-06 06:23:41 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2012-09-06 06:23:41 -0700 |
commit | 429e34a56273888b7b1b600727aed150f0a91738 (patch) | |
tree | 10d28a4bd398ef0eef2e5e8a30d7d60f0bc4019d | |
parent | 6f340f5149d1a54887a41da3a56f73170cd53641 (diff) | |
download | ldid-429e34a56273888b7b1b600727aed150f0a91738.tar.gz ldid-429e34a56273888b7b1b600727aed150f0a91738.tar.zst ldid-429e34a56273888b7b1b600727aed150f0a91738.zip |
Added a few _packed modifiers that were missing.
-rw-r--r-- | ldid.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -216,7 +216,7 @@ struct segment_command { uint32_t initprot; uint32_t nsects; uint32_t flags; -}; +} _packed; struct segment_command_64 { uint32_t cmd; @@ -230,7 +230,7 @@ struct segment_command_64 { uint32_t initprot; uint32_t nsects; uint32_t flags; -}; +} _packed; struct section { char sectname[16]; @@ -244,7 +244,7 @@ struct section { uint32_t flags; uint32_t reserved1; uint32_t reserved2; -}; +} _packed; struct section_64 { char sectname[16]; @@ -258,7 +258,7 @@ struct section_64 { uint32_t flags; uint32_t reserved1; uint32_t reserved2; -}; +} _packed; struct linkedit_data_command { uint32_t cmd; |