Ticket #57333: CrashReporter.patch
File CrashReporter.patch, 1.2 KB (added by ballapete (Peter "Pete" Dyballa), 6 years ago) |
---|
-
(a) a/os/log.c-orig vs. (b) b/os/log.c
a b 127 127 128 128 static const char *__crashreporter_info__ __attribute__ ((__used__)) = 129 129 &__crashreporter_info_buff__[0]; 130 #if MAC_OS_X_VERSION_MIN_REQUIRED >= 10 50130 #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 131 131 // This is actually a toolchain requirement, but I'm not sure the correct check, 132 132 // but it should be fine to just only include it for Leopard and later. This line 133 133 // just tells the linker to never strip this symbol (such as for space optimization) -
(a) a/hw/xquartz/mach-startup/bundle-main.c-orig vs. (b) b/hw/xquartz/mach-startup/bundle-main.c
a b 91 91 static char __crashreporter_info_buff__[4096] = { 0 }; 92 92 static const char *__crashreporter_info__ __attribute__((__used__)) = 93 93 &__crashreporter_info_buff__[0]; 94 #if MAC_OS_X_VERSION_MIN_REQUIRED >= 10 5094 #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 95 95 // This is actually a toolchain requirement, but I'm not sure the correct check, 96 96 // but it should be fine to just only include it for Leopard and later. This line 97 97 // just tells the linker to never strip this symbol (such as for space optimization)