From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A417F3858C3A; Tue, 8 Nov 2022 15:38:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A417F3858C3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1667921922; bh=ze7wFT8O5kycdzcaVVqTG3Fq3Y9U+DI5NaknDZ2+WrI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TsbP7cwgKqdf4rrTE2NCv+kRI6WranPa+GGLlrZA40H0jHas1lCH0Nrs68Z7SBG8a rOKiGOAZ9FgEzlblMkmcMnsSo9lgIqUHLJNj2ErffTGBIS32qn9lFTxJWPOG0Z9ZRk dNvRqnySG3uumZ/Yh+LlWaVHRHft0Bbyks+yLBJs= From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/29749] clarify usage of .cfi_label in riscv start.S Date: Tue, 08 Nov 2022 15:38:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org 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: 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=3D29749 --- Comment #2 from Andreas Schwab --- .cfi_startproc does *not* start the FDE. Without .cfi_label, the DW_CFA_undefined directive is part of the CIE. $ readelf -wf csu/start.o Contents of the .eh_frame section: 00000000 0000000000000014 00000000 CIE Version: 3 Augmentation: "zR" Code alignment factor: 1 Data alignment factor: -4 Return address column: 1 Augmentation data: 1b DW_CFA_def_cfa_register: r2 (sp) DW_CFA_undefined: r1 (ra) DW_CFA_nop DW_CFA_nop DW_CFA_nop 00000018 0000000000000014 0000001c FDE cie=3D00000000 pc=3D0000000000000002..000000000000002c DW_CFA_nop DW_CFA_nop DW_CFA_nop DW_CFA_nop DW_CFA_nop DW_CFA_nop DW_CFA_nop --=20 You are receiving this mail because: You are on the CC list for the bug.=