https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99889
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=98125
[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=99888
[Bug 99888] Add powerpc ELFv2 support for -fpatchable-function-entry*