From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7B482385DDC1; Tue, 11 Jun 2024 21:38:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B482385DDC1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1718141916; bh=CPaATHvobkOFt7x4ehCGX8ti517K8BKph+BNqFkTvJo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ul1Wsp2YopELPc7tkFvLa7YU3Xx4ER5hmM4q+ieRPLIoeJiSvNg9ffVbMajyJ7UZI K0/AX6wd4HLDaDL1jAF5WULDrqELU10T1o7s/qMBEb5M+NLRVt0z8I+IUV85sOJoBd yN39Pb2m7Y5pzTu2npODX1h99UmT+z+4FNFBNVis= From: "marian.buschsieweke at posteo dot net" To: gdb-prs@sourceware.org Subject: [Bug gdb/31851] GDB ignores absolute function symbols Date: Tue, 11 Jun 2024 21:38:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 14.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marian.buschsieweke at posteo dot net X-Bugzilla-Status: UNCONFIRMED 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: attachments.created 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31851 --- Comment #3 from Marian Buschsieweke --- Created attachment 15580 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D15580&action=3Ded= it look up the symbol type for absolute symbols This patch adapts elf_symtab_read() to figure out correctly which symbol type an absolute symbol is. Since bfd doesn't freely offer this info, the section the symbol belongs to is looked up by the symbol address and the type is deduced from the section. --=20 You are receiving this mail because: You are on the CC list for the bug.=