diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2012-06-12 17:57:31 +0200 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2012-07-09 18:41:55 +0200 |
| commit | ed9c6b132abab8fad614b2a077a69b86cbb95cdd (patch) | |
| tree | 55ab9965c44e97af8f81a0c91ced575e8cb7cfc4 /tccelf.c | |
| parent | d27a0b35482b907357d76a9db4e0b18ec89cf979 (diff) | |
| download | tinycc-ed9c6b132abab8fad614b2a077a69b86cbb95cdd.tar.gz tinycc-ed9c6b132abab8fad614b2a077a69b86cbb95cdd.tar.bz2 | |
Fix R_ARM_REL32 relocation
Add missing break in the code handling R_ARM_REL32 relocation.
Diffstat (limited to 'tccelf.c')
| -rw-r--r-- | tccelf.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |
