From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4CD673858402; Wed, 17 Nov 2021 18:28:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4CD673858402 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1637173685; bh=wBe7nvoQJ4tcglPeIitMpH/+zFRUUDMXJAoIz2VMA04=; h=From:To:Subject:Date:In-Reply-To:References:From; b=a8k7JW9s/inZKalDFbMlOMWUhiMnE03IIPBt+81PT3PyEqrEqqMr6NLK0KHAVI7Yn fp5wzClQGVmx/wgWvULiZPpgN+BrLa2Wx7bXK7FofqHOOWAld83VCqgC6dE29tuFFZ e45WAETFGewH/vl6UYvMcLogsDRPJ2ZLy6KB3KB0= From: "mark at klomp dot org" To: debugedit@sourceware.org Subject: [Bug debugedit/28598] 5.0 test failures on hppa-linux-gnu Date: Wed, 17 Nov 2021 18:28:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: debugedit X-Bugzilla-Component: debugedit X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: debugedit@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: debugedit development mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2021 18:28:05 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28598 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at klomp dot org --- Comment #1 from Mark Wielaard --- The issue here is that debugedit doesn't know about hppa ELF relocations (as used in debug sections). See tools/debugedit.c (setup_relbuf): rtype =3D ELF64_R_TYPE (rela.r_info); switch (dso->ehdr.e_machine) { case EM_SPARC: case EM_SPARC32PLUS: case EM_SPARCV9: if (rtype !=3D R_SPARC_32 && rtype !=3D R_SPARC_UA32) goto fail; break; case EM_386: if (rtype !=3D R_386_32) goto fail; break; case EM_PPC: case EM_PPC64: if (rtype !=3D R_PPC_ADDR32 && rtype !=3D R_PPC_UADDR32) goto fail; break; case EM_S390: if (rtype !=3D R_390_32) goto fail; break; case EM_IA_64: if (rtype !=3D R_IA64_SECREL32LSB) goto fail; break; case EM_X86_64: if (rtype !=3D R_X86_64_32) goto fail; break; case EM_ALPHA: if (rtype !=3D R_ALPHA_REFLONG) goto fail; break; #if defined(EM_AARCH64) && defined(R_AARCH64_ABS32) case EM_AARCH64: if (rtype !=3D R_AARCH64_ABS32) goto fail; break; #endif case EM_68K: if (rtype !=3D R_68K_32) goto fail; break; #if defined(EM_RISCV) && defined(R_RISCV_32) case EM_RISCV: if (rtype !=3D R_RISCV_32) goto fail; break; #endif #if defined(EM_MCST_ELBRUS) && defined(R_E2K_32_ABS) case EM_MCST_ELBRUS: if (rtype !=3D R_E2K_32_ABS) goto fail; break; #endif default: fail: error (1, 0, "%s: Unhandled relocation %d at [%d] for %s section", dso->filename, rtype, ndx, sec->name); } --=20 You are receiving this mail because: You are on the CC list for the bug.=