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
132132 #include <process.h>
133133 static int execvp_win32(const char *prog, char **argv)
134134 {
135− int ret = spawnvp(P_NOWAIT, prog, (const char *const*)argv);
135+ int ret = spawnvp(P_NOWAIT, prog, (char *const*)argv);
136136 if (-1 == ret)
137137 return ret;
138138 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
573573 goto output_file;
574574 write16le(ptr, read16le(ptr) + val - addr);
575575 break;
576+ case R_386_RELATIVE:
577+ /* do nothing */
578+ break;
576579 default:
577580 fprintf(stderr,"FIXME: handle reloc type %d at %x [%p] to %x\n",
578581 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