John Ogness <john.ogn...@linutronix.de> writes: > Hi Nicholas, > > On 2023-06-09, Nicholas Piggin <npig...@gmail.com> wrote: >> Add --orphan-handlin for vdsos, and adjust vdso linker scripts to deal >> with orphan sections. > > I'm reporting that I am getting a linker warning with 6.5-rc2. The > warning message is: > > ld: warning: discarding dynamic section .rela.opd > > and bisects to: > > 8ad57add77d3 ("powerpc/build: vdso linker warning for orphan sections") > > Despite the warning, my ppc64 system seems to run fine. Let me know if > you need any other information from me.
We already discard .opd and .rela*, so I guess we should also be discarding .rela.opd. Can you test with a newer compiler/binutils? cheers