Subject: PR/33909 CVS commit: src/gnu/dist/binutils/ld
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Matthias Drochner <drochner@netbsd.org>
List: netbsd-bugs
Date: 07/10/2006 17:45:02
The following reply was made to PR bin/33909; it has been noted by GNATS.
From: Matthias Drochner <drochner@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/33909 CVS commit: src/gnu/dist/binutils/ld
Date: Mon, 10 Jul 2006 17:42:17 +0000 (UTC)
Module Name: src
Committed By: drochner
Date: Mon Jul 10 17:42:17 UTC 2006
Modified Files:
src/gnu/dist/binutils/ld: ldlang.c
Log Message:
Call ldemul_finish() before lang_check_section_addresses(), as done
in binutils-current, rev.1.224.
ldemul_finish() might change section addresses/lengths, so this change
makes sure it is really the final output which is checked.
This fixes problems loading LKMs on alpha and amd64, reported by
Dave Huang per PR bin/33909. I could reproduce it myself on alpha.
To generate a diff of this commit:
cvs rdiff -r1.1.1.3 -r1.2 src/gnu/dist/binutils/ld/ldlang.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.