summaryrefslogtreecommitdiff
path: root/bfd/elf32-epiphany.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-epiphany.c')
-rw-r--r--bfd/elf32-epiphany.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/elf32-epiphany.c b/bfd/elf32-epiphany.c
index 420dc8bb07..6b798b17a5 100644
--- a/bfd/elf32-epiphany.c
+++ b/bfd/elf32-epiphany.c
@@ -420,9 +420,10 @@ epiphany_final_link_relocate (reloc_howto_type * howto,
relocation += rel->r_addend;
if ((unsigned int) relocation > 0x7ff)
return bfd_reloc_outofrange;
+ /* Fall through. */
disp11:
- relocation = ((relocation & 7) << 5)
- || ((relocation & 0x7f8 ) << 13);
+ relocation = (((relocation & 7) << 5)
+ | ((relocation & 0x7f8 ) << 13));
return _bfd_relocate_contents (howto, input_bfd, relocation,
contents + rel->r_offset);