mirror of
git://c9x.me/qbe.git
synced 2026-05-26 15:34:41 +00:00
amd64_win: die on extern/thread linkage
This commit is contained in:
parent
ac48f83f17
commit
de6fdc1b8c
@ -544,6 +544,8 @@ emitins(Ins i, E *e)
|
|||||||
regtoa(i.to.val, SLong));
|
regtoa(i.to.val, SLong));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (T.windows && con->sym.type != SGlo)
|
||||||
|
die("extern/thread unsupported on amd64_win");
|
||||||
switch (con->sym.type) {
|
switch (con->sym.type) {
|
||||||
case SThr:
|
case SThr:
|
||||||
/* derive the symbol address from the TCB
|
/* derive the symbol address from the TCB
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user