aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
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);