Rev 6429 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6429 | Rev 9782 | ||
---|---|---|---|
Line 351... | Line 351... | ||
351 | 351 | ||
352 | /* 'is_jmp' is '1' if it is a jump */ |
352 | /* 'is_jmp' is '1' if it is a jump */ |
353 | static void gcall_or_jmp(int is_jmp) |
353 | static void gcall_or_jmp(int is_jmp) |
354 | { |
354 | { |
- | 355 | int r; |
|
- | 356 | #ifdef TCC_TARGET_KX |
|
- | 357 | if (vtop->type.t & VT_IMPORT) { |
|
- | 358 | o(0x15ff); |
|
- | 359 | greloc(cur_text_section, vtop->sym, ind, R_386_32); |
|
- | 360 | gen_le32(0); |
|
- | 361 | return; |
|
- | 362 | } |
|
355 | int r; |
363 | #endif |
356 | if ((vtop->r & (VT_VALMASK | VT_LVAL)) == VT_CONST) { |
364 | if ((vtop->r & (VT_VALMASK | VT_LVAL)) == VT_CONST) { |
357 | /* constant case */ |
365 | /* constant case */ |
358 | if (vtop->r & VT_SYM) { |
366 | if (vtop->r & VT_SYM) { |
359 | /* relocation case */ |
367 | /* relocation case */ |