From: Alan Modra Date: Tue, 27 Jan 2026 23:18:41 +0000 (+1030) Subject: Re: PR 33840 typo in elfnn-loongarch.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f8d261d200b59f0cc55581ad6cefe3912a05fa9;p=thirdparty%2Fbinutils-gdb.git Re: PR 33840 typo in elfnn-loongarch.c The second string with the typo was unused (and had unescaped %). Remove it. --- diff --git a/bfd/elfnn-loongarch.c b/bfd/elfnn-loongarch.c index 46750b152ba..2c67cccd9fb 100644 --- a/bfd/elfnn-loongarch.c +++ b/bfd/elfnn-loongarch.c @@ -3481,11 +3481,7 @@ loongarch_resolve_pcrel_lo_relocs (loongarch_pcrel_relocs *p) loongarch_pcrel_hi_reloc search = {r->address, 0, 0, NULL}; loongarch_pcrel_hi_reloc *entry = htab_find (p->hi_relocs, &search); - char *string = NULL; if (entry == NULL) - string = _("%pcrel_lo missing matching %pcrel_hi"); - - if (string != NULL) { ((*r->info->callbacks->reloc_overflow) (r->info, NULL, NULL, r->howto->name, (bfd_vma) 0,