Commit 7e4fa0a6 authored by wolfgang.thaller@gmx.net's avatar wolfgang.thaller@gmx.net
Browse files

Darwin/i386 NCG: fix assembly syntax in symbol stubs

In i386 position-independent symbol stubs, the NCG used to print
	jmp %edx
instead of
	jmp *%edx

Apple's assembler used to silently accept this, but has recently started to print warnings about it.

MERGE TO STABLE.
parent 2bed4583
......@@ -442,7 +442,7 @@ pprImportedSymbol importedLbl
ptext SLIT("1:"),
ptext SLIT("\tmovl L") <> pprCLabel_asm lbl
<> ptext SLIT("$lazy_ptr-1b(%eax),%edx"),
ptext SLIT("\tjmp %edx"),
ptext SLIT("\tjmp *%edx"),
ptext SLIT("L") <> pprCLabel_asm lbl
<> ptext SLIT("$stub_binder:"),
ptext SLIT("\tlea L") <> pprCLabel_asm lbl
......
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