summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2010-04-01 15:30:46 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2010-04-01 15:32:51 -0700
commit0e342add7768df55a1917e27f9b85feddd444e82 (patch)
treeb8117325060631837bc2e3a426f67c4b9a2f8d5b
parent67b814d9b2baea6beccfb1625a1e3f0b2ba7218b (diff)
darwin: Correct inline assembly for ___crashreporter_info__
It was missing an underscore. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--hw/xquartz/mach-startup/bundle-main.c2
-rw-r--r--os/log.c2
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. */