From: Mikael Pettersson <mikpe@csd.uu.se>
To: kai@tp1.ruhr-uni-bochum.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.59 vmlinux.lds.S change broke modules
Date: Sat, 18 Jan 2003 15:36:40 +0100 (MET) [thread overview]
Message-ID: <200301181436.PAA14723@harpo.it.uu.se> (raw)
On Fri, 17 Jan 2003 18:11:01 -0600 (CST), Kai Germaschewski wrote:
>Okay, the details I received so far seem to indicate that the appended
>patch will fix it, though I didn't get actual confirmation it does.
>
>If you experience crashes when loading modules (and have RH 8 binutils),
>please give it a shot.
...
>diff -Nru a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
>--- a/include/asm-generic/vmlinux.lds.h Fri Jan 17 10:09:57 2003
>+++ b/include/asm-generic/vmlinux.lds.h Fri Jan 17 10:09:57 2003
>@@ -13,18 +13,18 @@
> } \
> \
> /* Kernel symbol table: Normal symbols */ \
>- __start___ksymtab = .; \
> __ksymtab : AT(ADDR(__ksymtab) - LOAD_OFFSET) { \
>+ __start___ksymtab = .; \
> *(__ksymtab) \
>+ __stop___ksymtab = .; \
> } \
>- __stop___ksymtab = .; \
> \
> /* Kernel symbol table: GPL-only symbols */ \
>- __start___gpl_ksymtab = .; \
> __gpl_ksymtab : AT(ADDR(__gpl_ksymtab) - LOAD_OFFSET) { \
>+ __start___gpl_ksymtab = .; \
> *(__gpl_ksymtab) \
>+ __stop___gpl_ksymtab = .; \
> } \
>- __stop___gpl_ksymtab = .; \
> \
> /* Kernel symbol table: strings */ \
> __ksymtab_strings : AT(ADDR(__ksymtab_strings) - LOAD_OFFSET) { \
>
This patch fixed the module-loading problem for me. Thanks.
Note that the problem wasn't specific to RH8.0 binutils:
I've also seen it with binutils-2.10.91 from RH7.1.
/Mikael
next reply other threads:[~2003-01-18 14:31 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-18 14:36 Mikael Pettersson [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-17 13:27 Adam J. Richter
2003-01-17 12:55 Mikael Pettersson
2003-01-17 13:44 ` Brian Gerst
2003-01-17 13:49 ` Mikael Pettersson
2003-01-17 14:32 ` Mike Galbraith
2003-01-17 13:56 ` Russell King
2003-01-17 16:13 ` Eric W. Biederman
2003-01-17 16:21 ` Sam Ravnborg
2003-01-18 3:08 ` Eric W. Biederman
2003-01-17 16:24 ` Kai Germaschewski
2003-01-17 16:50 ` Russell King
2003-01-17 16:19 ` Sam Ravnborg
2003-01-17 14:44 ` Kai Germaschewski
2003-01-18 0:11 ` Kai Germaschewski
2003-01-18 5:45 ` Christopher Faylor
2003-01-18 6:14 ` J Sloan
2003-01-18 8:00 ` Mike Galbraith
2003-01-18 9:23 ` Sam Ravnborg
2003-01-18 9:34 ` Mike Galbraith
[not found] ` <Pine.LNX.4.44.0301171808010.15056-100000@chaos.physics.uio wa.edu>
2003-01-18 9:07 ` Mike Galbraith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200301181436.PAA14723@harpo.it.uu.se \
--to=mikpe@csd.uu.se \
--cc=kai@tp1.ruhr-uni-bochum.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome