Commit 4d6bccb0 authored by Russ Cox's avatar Russ Cox

pick up symbol for JMP main(SB)

but not JMP main (label).

R=ken
OCL=20724
CL=20724
parent 48e51101
......@@ -362,7 +362,7 @@ patch(void)
for(p = firstp; p != P; p = p->link) {
if(p->as == ATEXT)
curtext = p;
if(p->as == ACALL || p->as == AJMP) {
if(p->as == ACALL || (p->as == AJMP && p->to.type != D_BRANCH)) {
s = p->to.sym;
if(s) {
if(debug['c'])
......
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