Commit 9761a5ec authored by wolfgang's avatar wolfgang
Browse files

[project @ 2005-04-07 06:25:54 by wolfgang]

Mac OS X: Work around a subtle bug/strangeness/"feature" in Apple's toolchain
that affects machoInitSymbolsWithoutUnderscore().
(The symbolsWithoutUnderscore symbol must be .globl, otherwise incorrect code
will be generated to refer to it)

This has already been MERGED TO STABLE as part of the previous commit.
parent d79c1cb2
......@@ -3925,7 +3925,7 @@ static void machoInitSymbolsWithoutUnderscore()
{
extern void* symbolsWithoutUnderscore[];
void **p = symbolsWithoutUnderscore;
__asm__ volatile(".data\n_symbolsWithoutUnderscore:");
__asm__ volatile(".globl _symbolsWithoutUnderscore\n.data\n_symbolsWithoutUnderscore:");
#undef Sym
#define Sym(x) \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment