From: Camm Maguire Date: Sun, 13 Nov 2022 12:55:14 +0000 (+0000) Subject: X-Git-Tag: archive/raspbian/2.7.1-4+rpi1~2^2^2~77 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1da03d0f0833f905e46f7ac744cb0c2743a76b40;p=gcl27.git 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-57) unstable; urgency=medium * list_order.13 Gbp-Pq: Name list_order.13 --- diff --git a/h/elf32_mips_reloc.h b/h/elf32_mips_reloc.h index 629f2f5..8346d26 100644 --- a/h/elf32_mips_reloc.h +++ b/h/elf32_mips_reloc.h @@ -35,7 +35,7 @@ if (a) add_vals(where,MASK(16),(s>>16)+a); break; case R_MIPS_LO16: - if (sym->st_other) s=gpd; + if (sym->st_other) s=gpd ? gpd : ({massert(sym->st_other==2);(ul)got;}); a=*where&MASK(16); if (a&0x8000) a|=0xffff0000; a+=s&MASK(16);