From 8e4d64be2fc1d707c7800c5096f6e0ea22cbd015 Mon Sep 17 00:00:00 2001 From: Vlad Vissoultchev Date: Sun, 13 Mar 2016 04:18:43 +0200 Subject: Silence FIXME and compiler warning --- tccelf.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tccelf.c') diff --git a/tccelf.c b/tccelf.c index b90cf0f..9cfa8c4 100644 --- a/tccelf.c +++ b/tccelf.c @@ -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); -- cgit v1.3.1