From 42849ef824760a056bc785bea42e061d0d2e4916 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sun, 26 Oct 2025 16:34:35 -0400 Subject: [PATCH] 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. --- bfd/elf64-hppa.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.47.3