RELOC_AGAINST_DISCARDED_SECTION

Alan Modra amodra@gmail.com
Fri Jul 18 00:51:59 GMT 2025


On Thu, Jul 17, 2025 at 05:35:38PM -0700, H.J. Lu wrote:
> On Thu, Jul 17, 2025 at 4:42 PM Alan Modra <amodra@gmail.com> wrote:
> >
> > HJ,
> > Do you remember why your initial implementation (commit 0672748ac053)
> > of this macro didn't allow discarding of all relocs in a section?  Was
> > it because ld/testsuite/ld-elf/linkonce1.d needed changing?
> >
> I don't remember exactly.  I think eh_frame editing code needs it.

It's not that, because .eh_frame relocs were not removed.

-- 
Alan Modra


More information about the Binutils mailing list