aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
authorVlad Vissoultchev <wqweto@gmail.com>2016-03-13 04:18:43 +0200
committerVlad Vissoultchev <wqweto@gmail.com>2016-03-13 04:18:43 +0200
commit8e4d64be2fc1d707c7800c5096f6e0ea22cbd015 (patch)
treeffc4f2506c8645a51f24121dd0cff4933a827cad /tccelf.c
parentceccd3ead3884afba95fd21ba1967d01acd2f2df (diff)
downloadtinycc-8e4d64be2fc1d707c7800c5096f6e0ea22cbd015.tar.gz
tinycc-8e4d64be2fc1d707c7800c5096f6e0ea22cbd015.tar.bz2
Silence FIXME and compiler warning
Diffstat (limited to 'tccelf.c')
-rw-r--r--tccelf.c3
1 files changed, 3 insertions, 0 deletions
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);