Silence FIXME and compiler warning

This commit is contained in:
Vlad Vissoultchev
2016-03-13 04:18:43 +02:00
parent ceccd3ead3
commit 8e4d64be2f
2 changed files with 4 additions and 1 deletions

View File

@ -573,6 +573,9 @@ ST_FUNC void relocate_section(TCCState *s1, Section *s)
goto output_file;
write16le(ptr, read16le(ptr) + val - addr);
break;
case R_386_RELATIVE:
/* do nothing */
break;
default:
fprintf(stderr,"FIXME: handle reloc type %d at %x [%p] to %x\n",
type, (unsigned)addr, ptr, (unsigned)val);