OSX/iOS/ARM64: Fix generation of Mach-O object files.

Thanks to Carlo Cabrera.
master
Mike Pall 2022-07-22 12:14:40 +02:00
parent 32984282dd
commit 3065c910ad
1 changed files with 3 additions and 3 deletions

View File

@ -456,18 +456,18 @@ typedef struct {
uint32_t value;
} mach_nlist;
typedef struct {
uint32_t strx;
int32_t strx;
uint8_t type, sect;
uint16_t desc;
uint64_t value;
} mach_nlist_64;
typedef struct
{
uint32_t magic, nfat_arch;
int32_t magic, nfat_arch;
} mach_fat_header;
typedef struct
{
uint32_t cputype, cpusubtype, offset, size, align;
int32_t cputype, cpusubtype, offset, size, align;
} mach_fat_arch;
typedef struct {
struct {