aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/csky/dl-machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/csky/dl-machine.h')
-rw-r--r--sysdeps/csky/dl-machine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/csky/dl-machine.h b/sysdeps/csky/dl-machine.h
index e670d84344..1ed58a2202 100644
--- a/sysdeps/csky/dl-machine.h
+++ b/sysdeps/csky/dl-machine.h
@@ -282,8 +282,8 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
break;
case R_CKCORE_PCREL_IMM26BY2:
{
- unsigned int offset = ((value + reloc->r_addend -
- (unsigned int)reloc_addr) >> 1);
+ unsigned int offset = ((value + reloc->r_addend
+ - (unsigned int)reloc_addr) >> 1);
insn_opcode = (*opcode16_addr << 16) | (*(opcode16_addr + 1));
if (offset > 0x3ffffff){
const char *strtab;