From 0e342add7768df55a1917e27f9b85feddd444e82 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Thu, 1 Apr 2010 15:30:46 -0700 Subject: [PATCH] darwin: Correct inline assembly for ___crashreporter_info__ It was missing an underscore. Signed-off-by: Jeremy Huddleston --- hw/xquartz/mach-startup/bundle-main.c | 2 +- os/log.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xquartz/mach-startup/bundle-main.c b/hw/xquartz/mach-startup/bundle-main.c index 625b8b4c2..42aa757ea 100644 --- a/hw/xquartz/mach-startup/bundle-main.c +++ b/hw/xquartz/mach-startup/bundle-main.c @@ -75,7 +75,7 @@ extern int noPanoramiXExtension; static char __crashreporter_info_buff__[4096] = {0}; static const char *__crashreporter_info__ = &__crashreporter_info_buff__[0]; -asm (".desc __crashreporter_info__, 0x10"); +asm (".desc ___crashreporter_info__, 0x10"); static const char *__crashreporter_info__base = "X.Org X Server " XSERVER_VERSION " Build Date: " BUILD_DATE; diff --git a/os/log.c b/os/log.c index c1301d754..37733158a 100644 --- a/os/log.c +++ b/os/log.c @@ -120,7 +120,7 @@ static Bool needBuffer = TRUE; #ifdef __APPLE__ static char __crashreporter_info_buff__[4096] = {0}; static const char *__crashreporter_info__ = &__crashreporter_info_buff__[0]; -asm (".desc __crashreporter_info__, 0x10"); +asm (".desc ___crashreporter_info__, 0x10"); #endif /* Prefix strings for log messages. */