Subject: Re: bin/33909: modload fails with "section .eh_frame ... overlaps section .data"
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: None <khym@azeotrope.org>
List: netbsd-bugs
Date: 07/09/2006 00:55:02
The following reply was made to PR bin/33909; it has been noted by GNATS.
From: khym@azeotrope.org
To: Matthias Drochner <M.Drochner@fz-juelich.de>
Cc: gnats-bugs@NetBSD.org, gnats-admin@NetBSD.org,
netbsd-bugs@NetBSD.org
Subject: Re: bin/33909: modload fails with "section .eh_frame ... overlaps section .data"
Date: Sat, 8 Jul 2006 19:51:47 -0500
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! :)