Unified · Split
| @@ -132,7 +132,7 @@ static void help(void) · 131 unmodified lines | ||
| 132 | 132 | #include <process.h> |
| 133 | 133 | static int execvp_win32(const char *prog, char **argv) |
| 134 | 134 | { |
| 135 | − int ret = spawnvp(P_NOWAIT, prog, (const char *const*)argv); | |
| 135 | + int ret = spawnvp(P_NOWAIT, prog, (char *const*)argv); | |
| 136 | 136 | if (-1 == ret) |
| 137 | 137 | return ret; |
| 138 | 138 | cwait(&ret, ret, WAIT_CHILD); |
| @@ -573,6 +573,9 @@ ST_FUNC void relocate_section(TCCState *s1, Section *s) · 572 unmodified lines | ||
| 573 | 573 | goto output_file; |
| 574 | 574 | write16le(ptr, read16le(ptr) + val - addr); |
| 575 | 575 | break; |
| 576 | + case R_386_RELATIVE: | |
| 577 | + /* do nothing */ | |
| 578 | + break; | |
| 576 | 579 | default: |
| 577 | 580 | fprintf(stderr,"FIXME: handle reloc type %d at %x [%p] to %x\n", |
| 578 | 581 | type, (unsigned)addr, ptr, (unsigned)val); |