From: John David Anglin Date: Sun, 26 Oct 2025 20:34:35 +0000 (-0400) Subject: hppa64: Fix linking of linux kernel X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42849ef824760a056bc785bea42e061d0d2e4916;p=thirdparty%2Fbinutils-gdb.git hppa64: Fix linking of linux kernel Relocation handling is currently brokern for linker and ld script symbols. 2025-10-26 John David Anglin bfd/ChangeLog: * elf64-hppa.c (elf64_hppa_check_relocs): Don't set hh to NULL for linker and ld script symbols. --- diff --git a/bfd/elf64-hppa.c b/bfd/elf64-hppa.c index 980cbcaf410..77c1505606f 100644 --- a/bfd/elf64-hppa.c +++ b/bfd/elf64-hppa.c @@ -661,8 +661,6 @@ elf64_hppa_check_relocs (bfd *abfd, object. */ if (!hh->eh.root.linker_def && !hh->eh.root.ldscript_def) hh->eh.ref_regular = 1; - else - hh = NULL; } else hh = NULL;