From f337bb7bda3c0e6eca699e3762143d9aef578966 Mon Sep 17 00:00:00 2001 From: Camm Maguire Date: Thu, 11 Aug 2022 18:16:42 +0100 Subject: [PATCH] Bug-Debian: https://bugs.debian.org/919477 TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. gcl (2.6.12-83) unstable; urgency=high * Version_2_6_13pre77 * FIx acl2 arm builds (Closes: #919477). Gbp-Pq: Name Version_2_6_13pre78 --- h/elf32_arm_reloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h/elf32_arm_reloc.h b/h/elf32_arm_reloc.h index bad940f..4743a37 100644 --- a/h/elf32_arm_reloc.h +++ b/h/elf32_arm_reloc.h @@ -18,7 +18,7 @@ case R_ARM_JUMP24: { long x=((long)(s+a-p))/4; - if (abs(x)&(~MASK(24))) { + if (abs(x)&(~MASK(23))) { got+=(sym->st_size-1)*tz; memcpy(got,tramp,sizeof(tramp)); /*recurse on relocate?*/ -- 2.30.2