From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 26A743857830; Sat, 3 Apr 2021 08:13:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 26A743857830 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99888] New: Add powerpc ELFv2 support for -fpatchable-function-entry* Date: Sat, 03 Apr 2021 08:13:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc dependson target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 08:13:39 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99888 Bug ID: 99888 Summary: Add powerpc ELFv2 support for -fpatchable-function-entry* Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org CC: amodra at gmail dot com, hjl.tools at gmail dot com, jakub at gcc dot gnu.org, marxin at gcc dot gnu.org, seurer at gcc dot gnu.org, unassigned at gcc dot gnu.org Depends on: 98125 Target Milestone: --- Host: powerpc64*-linux-gnu Target: powerpc64*-linux-gnu Build: powerpc64*-linux-gnu +++ This bug was initially created as a clone of Bug #98125 +++ As mentioned in PR98125, for ELFv2 the patchable nops need to be added after the first two insns of the function rather than before it. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98125 [Bug 98125] [11 Regression] New test case g++.dg/pr93195a.C in r11-5656 has excess errors=