From: David Mosberger <davidm@AZStarNet.COM>
Subject: Re: Modules...
Date: Tue, 8 Oct 1996 09:13:51 -0700 (MST) [thread overview]
Message-ID: <199610081613.JAA02942@web.azstarnet.com> (raw)
> I just recompiled insmod, and guess what - it works... Thanks for the
> quick patch.
Glad to hear that!
> I took the .src.rpm supplied by RedHat, which uses BFD, but they supply
> the same for all platforms. I simply took that and patched it, and
> compiled. I believe they use the same source for the i386 linux. Is that
> the regular insmod?
Since the patch applied cleanly, you must have applied it to the bfd
insmod (which is the Right Thing to do). Getting the "regular" insmod
working (the one that comes with the modules package) requires a
non-trivial amount of work (at the very least, relocation needs to be
adapted for the Alpha, but I think there will be some other nastiness
such as creating a .got section). I don't think it's very difficult,
but it takes somebody with some time at hand and the necessary
knowledge of both ELF and Alpha. Until then, bfd-insmod is the way to
go. The only reason I want to go away from bfd-insmod is that there
is a cyclic dependency that makes it impossible to guarantee that
insmod will work for all cases (in practice it should work fine for
all but the most contorted test cases, but still...). The cyclic
dependency is due to the fact that in order to create the final
object, you need to know its destination address, but to know the
address, you need to know the size of the final object. Of course,
one influences the other, hence there is a cyclic dependency.
--david
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
next reply other threads:[~1996-10-08 16:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-08 16:13 David Mosberger [this message]
[not found] <perello@imec.be>
1997-10-06 19:52 ` modules axp
-- strict thread matches above, loose matches on Subject: below --
1997-10-06 19:15 modules axp
[not found] <252cf9c0.415aa-dworz@amazing.ch>
1997-10-06 17:21 ` modules Carles Perello Garcia
1997-04-03 22:31 modules Alvin Starr
[not found] <199610081521.IAA03743@panda.mosberger>
1996-10-08 15:50 ` Modules Amit Margalit
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox