summaryrefslogtreecommitdiff
path: root/plugins/elf/helper_arm.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/elf/helper_arm.c')
-rw-r--r--plugins/elf/helper_arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/elf/helper_arm.c b/plugins/elf/helper_arm.c
index 111e34b..aacd1a2 100644
--- a/plugins/elf/helper_arm.c
+++ b/plugins/elf/helper_arm.c
@@ -175,7 +175,7 @@ bool retrieve_arm_linkage_offset(GElfFormat *format, const mrange_t *range, uint
shift = 32 - ((raw & 0xf00) >> 8) * 2;
- *offset += (raw & 0xf) << shift;
+ *offset += (raw & 0xff) << shift;
result = g_binary_content_read_u32(content, &pos, format->endian, &raw);
if (!result) goto ralo_exit;