From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 878FF3852C40; Thu, 17 Nov 2022 19:50:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 878FF3852C40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668714603; bh=tRYYz/qKllc7CwKu/3QVHORn6nfu5XeDWLVBFfGfMfE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=p+xZGLC5Sg5Jr01OnYGRFsNpvEvwidJIC4bWxVHsuoE5AnF2qV91AbzRtzO5syL7n E5sTeW8U1BdJB7AuEql6A4tvO4oHUundVjFq3fj09QDObRf2DbNZqDHmeJS9rpkflN 0gtELHTg9+iSO7HZA8acKqQ5l+YLf5wTSSIKUIfI= From: "miladfarca at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107736] call to a function, generated by inline asm, is off by one byte Date: Thu, 17 Nov 2022 19:50:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: inline-asm X-Bugzilla-Severity: normal X-Bugzilla-Who: miladfarca at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107736 --- Comment #4 from mfarca --- Thanks for creating the issue for improving documentation. Could you then clarify if call to the incorrect address is a bug or not? instructions are allowed to be under `.rodata` section as this section is s= till executable and works fine on x64, more on this: https://stackoverflow.com/a/44938843=