on 2022/8/24 22:01, Segher Boessenkool wrote: > On Wed, Aug 24, 2022 at 03:30:51PM +0800, Kewen.Lin wrote: >> on 2022/8/23 22:33, Segher Boessenkool wrote: >> I thought if we can consider [1] and updated the documentation similarly >> like "For PowerPC with the ELFv2 ABI, there will be M nops before the global >> entry point, and N-M after the local entry point". > > But that does not agree with the documentation. The N nops have to be > consecutive. If you want to support adding separate nop regions before > the LEP and GEP entry points, that is fine, but it will need a separate > command line option. >
OK, previously I thought if we can claim GEP and LEP (and the area between) as one special function entry (area) in documentation, but admittedly it's too tricky. Adding one separated command line option now just for one potential use case in future seems not a good idea. Following the previous proposal, I just posted v4 at: https://gcc.gnu.org/pipermail/gcc-patches/2022-August/600277.html BR, Kewen