Subject: Re: bin/33909: modload fails with "section .eh_frame ... overlaps section .data"
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: None <khym@azeotrope.org>
List: netbsd-bugs
Date: 07/08/2006 19:51:47
On Thu, Jul 06, 2006 at 02:18:18PM +0200, Matthias Drochner wrote:
> After some investigation I'm pretty sure the linker is
> to blame. It does the overlap check too early. The
> platform dependent "finish" function recalculates all
> the sizes, so what gets checked is not the final result.
>
> Could you try the appended fix?
> (and discard the elf.c patch)
Yes, this seems to fix the problem on my amd64 box. Thanks! :)