Re: [PATCH 01/17] powerpc/ftrace: Fix dropping weak symbols with older toolchains

2023-06-22 Thread Christophe Leroy
Le 19/06/2023 à 11:47, Naveen N Rao a écrit : > The minimum level of gcc supported for building the kernel is v5.1. > v5.x releases of gcc emitted a three instruction sequence for > -mprofile-kernel: > mflrr0 > std r0, 16(r1) > bl _mcount > > It is only with the

[PATCH 01/17] powerpc/ftrace: Fix dropping weak symbols with older toolchains

2023-06-19 Thread Naveen N Rao
The minimum level of gcc supported for building the kernel is v5.1. v5.x releases of gcc emitted a three instruction sequence for -mprofile-kernel: mflrr0 std r0, 16(r1) bl _mcount It is only with the v6.x releases that gcc started emitting the two instruction