From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ABBCF3858418; Tue, 2 Apr 2024 08:21:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ABBCF3858418 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712046117; bh=q+y+xwixHkhtcBlOFfJWX21rxIKOA9LyrA80/GetJZg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mYlfEr+gULKQdCUpgn+GNi9mW0x4YobksAHQvFSnVUlt8fKy819G4N1P4eYxEdcW5 4YJzQm5LCkBqQhwgshQbgHg0CTu8yyEYvU+yd1VG276Egr0aN7iijoxv7jSd0xm61H PcEMc9CPp3nuCuj17oxECQHuvWJRmhi2EFzVE15A= From: "linkw at gcc dot gnu.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: Tue, 02 Apr 2024 08:21:56 +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: linkw at gcc dot gnu.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: attachments.created 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 #10 from Kewen Lin --- Created attachment 57844 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57844&action=3Dedit patch changing the current implementation Considering the current implementation is not useful at all for both kernel= and userspace uses, I'm inclined to change the current implementation instead of introducing another option, but updating the documentation to emphasize the NOPs may not be consecutive for this case.=