aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tccelf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tccelf.c b/tccelf.c
index 655860b..a16499b 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -636,6 +636,7 @@ ST_FUNC void relocate_section(TCCState *s1, Section *s)
break;
case R_ARM_REL32:
*(int *)ptr += val - addr;
+ break;
case R_ARM_BASE_PREL:
*(int *)ptr += s1->got->sh_addr - addr;
break;