History

Silence FIXME and compiler warning

Vlad Vissoultchev committed 10 years ago

Commit 8e4d64b1 parent ceccd3e2 files · +4 −1Browse files

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t