From: Camm Maguire Date: Tue, 12 Jul 2022 21:17:09 +0000 (+0100) Subject: X-Git-Tag: archive/raspbian/2.7.1-4+rpi1~1^2~3^2~32 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3518a3bc3f89327a6de69e82c8affc2ac91d79ac;p=gcl27.git 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_13pre78 * FIx acl2 arm builds (Closes: #919477). Gbp-Pq: Name Version_2_6_13pre79 --- diff --git a/h/elf32_armhf_reloc.h b/h/elf32_armhf_reloc.h index 9b37537..1f0f756 100644 --- a/h/elf32_armhf_reloc.h +++ b/h/elf32_armhf_reloc.h @@ -4,7 +4,7 @@ case R_ARM_THM_JUMP24: { long x=(long)(s+a-p); - if (abs(x)&(~MASK(24))) { + if (abs(x)&(~MASK(23))) { got+=(sym->st_size-1)*tz; memcpy(got,tramp,sizeof(tramp)); @@ -32,7 +32,7 @@ case R_ARM_THM_CALL: { long x=(long)(s+a-p); - if (abs(x)&(~MASK(23))) { + if (abs(x)&(~MASK(22))) { got+=(sym->st_size-1)*tz; memcpy(got,tramp,sizeof(tramp));