From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2E6F23857830; Sat, 3 Apr 2021 08:15:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2E6F23857830 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99889] New: Add powerpc ELFv1 support for -fpatchable-function-entry* with "o" sections Date: Sat, 03 Apr 2021 08:15:40 +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:15:41 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99889 Bug ID: 99889 Summary: Add powerpc ELFv1 support for -fpatchable-function-entry* with "o" sections 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, 99888 Target Milestone: --- Host: powerpc64*-linux-gnu Target: powerpc64*-linux-gnu Build: powerpc64*-linux-gnu +++ This bug was initially created as a clone of Bug #99888 +++ +++ This bug was initially created as a clone of Bug #98125 +++ As mentioned in PR98125, for 64-bit ELFv1 GCC 11 has a workaround where compiler pretends linker doesn't support "o" section flag. It would be good to find out how it can be supported in presence of .opd section symbols, and either fix it on the assembler/linker side, or on the compiler side or both. 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 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99888 [Bug 99888] Add powerpc ELFv2 support for -fpatchable-function-entry*=