| ... | @@ -705,36 +705,6 @@ pub const relocation_info = packed struct { | ... | @@ -705,36 +705,6 @@ pub const relocation_info = packed struct { |
| 705 | r_type: u4, | 705 | r_type: u4, |
| 706 | }; | 706 | }; |
| 707 | | 707 | |
| 708 | /// The version_min_command contains the min OS version on which this | | |
| 709 | /// binary was built to run. | | |
| 710 | pub const version_min_command = extern struct { | | |
| 711 | /// LC_VERSION_MIN_MACOSX or LC_VERSION_MIN_IPHONEOS or LC_VERSION_MIN_WATCHOS | | |
| 712 | /// or LC_VERSION_MIN_TVOS | | |
| 713 | cmd: u32, | | |
| 714 | | | |
| 715 | /// sizeof(struct min_version_command) | | |
| 716 | cmdsize: u32, | | |
| 717 | | | |
| 718 | /// X.Y.Z is encoded in nibbles xxxx.yy.zz | | |
| 719 | version: u32, | | |
| 720 | | | |
| 721 | /// X.Y.Z is encoded in nibbles xxxx.yy.zz | | |
| 722 | sdk: u32, | | |
| 723 | }; | | |
| 724 | | | |
| 725 | /// The source_version_command is an optional load command containing | | |
| 726 | /// the version of the sources used to build the binary. | | |
| 727 | pub const source_version_command = extern struct { | | |
| 728 | /// LC_SOURCE_VERSION | | |
| 729 | cmd: u32, | | |
| 730 | | | |
| 731 | /// sizeof(source_version_command) | | |
| 732 | cmdsize: u32, | | |
| 733 | | | |
| 734 | /// A.B.C.D.E packed as a24.b10.c10.d10.e10 | | |
| 735 | version: u64, | | |
| 736 | }; | | |
| 737 | | | |
| 738 | /// After MacOS X 10.1 when a new load command is added that is required to be | 708 | /// After MacOS X 10.1 when a new load command is added that is required to be |
| 739 | /// understood by the dynamic linker for the image to execute properly the | 709 | /// understood by the dynamic linker for the image to execute properly the |
| 740 | /// LC_REQ_DYLD bit will be or'ed into the load command constant. If the dynamic | 710 | /// LC_REQ_DYLD bit will be or'ed into the load command constant. If the dynamic |