From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3CB103858D33; Mon, 25 Mar 2024 13:31:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3CB103858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711373472; bh=5+7eG9gnacSTmNN0L7Rk1L0XUK3Q6qc/8nQlr1Gl6bM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wu66Lv+iEhzc7oZH3WspS7wLxXjnF1mKJ7Gj7Z2j8PgMuNf/TkJZNITh2dKJ4QcGd il0HqLIiDu7/CJ4XzU8SM1zK8MZRaUqIcb2eyUvEGes6dBl4b0BJzq0AiJx/czbPSY yzElVKLyeDT+MKEewr6Rn0f8JbSSIPSYKkNrOrpc= From: "naveen at kernel dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112980] 64-bit powerpc ELFv2 does not allow nops to be generated before function global entry point Date: Mon, 25 Mar 2024 13:31:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: naveen at kernel dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: linkw 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=3D112980 --- Comment #7 from Naveen N Rao --- I have been looking at an alternative approach to see if we can move the en= tire function patching sequence out of line. However, the approach I am consider= ing is very specific to the linux kernel, and I don't see it applying for users= pace in a generic way. As such, I think there is value in addressing the current limitation with -fpatchable-function-entry one way or another.=