From 8ada92a69ffff904807242f277c661f98f247df7 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Wed, 14 Jun 2017 09:33:41 -0700 Subject: [PATCH] "Drive-by" typo fix modified: stub/src/arm64-darwin.macho-entry.S modified: stub/arm64-darwin.macho-entry.h --- src/stub/arm64-darwin.macho-entry.h | 6 +++--- src/stub/src/arm64-darwin.macho-entry.S | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/stub/arm64-darwin.macho-entry.h b/src/stub/arm64-darwin.macho-entry.h index 4862f3cb..e0fe71de 100644 --- a/src/stub/arm64-darwin.macho-entry.h +++ b/src/stub/arm64-darwin.macho-entry.h @@ -32,15 +32,15 @@ #define STUB_ARM64_DARWIN_MACHO_ENTRY_SIZE 7768 -#define STUB_ARM64_DARWIN_MACHO_ENTRY_ADLER32 0xfdcc6a7d -#define STUB_ARM64_DARWIN_MACHO_ENTRY_CRC32 0x315779e7 +#define STUB_ARM64_DARWIN_MACHO_ENTRY_ADLER32 0xdf5a6a8d +#define STUB_ARM64_DARWIN_MACHO_ENTRY_CRC32 0xc5aa2667 unsigned char stub_arm64_darwin_macho_entry[7768] = { /* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x0010 */ 1, 0,183, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x0020 */ 0, 0, 0, 0, 0, 0, 0, 0, 32, 22, 0, 0, 0, 0, 0, 0, /* 0x0030 */ 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, -/* 0x0040 */ 255, 19, 0,209,224, 7,177,169,226, 15, 1,169,228, 23, 2,169, +/* 0x0040 */ 255, 35, 0,209,224, 7,177,169,226, 15, 1,169,228, 23, 2,169, /* 0x0050 */ 230, 31, 3,169,232, 39, 4,169,234, 47, 5,169,236, 55, 6,169, /* 0x0060 */ 238, 63, 7,169,240, 71, 8,169,242, 79, 9,169,244, 87, 10,169, /* 0x0070 */ 246, 95, 11,169,248,103, 12,169,250,111, 13,169,252,119, 14,169, diff --git a/src/stub/src/arm64-darwin.macho-entry.S b/src/stub/src/arm64-darwin.macho-entry.S index 1b807aa1..3f717906 100644 --- a/src/stub/src/arm64-darwin.macho-entry.S +++ b/src/stub/src/arm64-darwin.macho-entry.S @@ -60,7 +60,7 @@ __ARM_NR_cacheflush = 2 + __ARM_NR_BASE //.long sz_pack2 // placed there by ::pack3() section MACHMAINX _start: .globl _start - sub sp,sp,#4 // space for mhdrp + sub sp,sp,#8 // space for mhdrp stp x0,x1,[sp,#-30*8]! // paranoia; omit r30(lr), r31(sp) stp x2,x3,[sp,#2*8] stp x4,x5,[sp,#4*8]