Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* modules and exceptioning 2.1.8+
@ 1996-11-14 20:45 a sun
  1996-11-15  1:15 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: a sun @ 1996-11-14 20:45 UTC (permalink / raw)


although i haven't actually tried it yet, i suspect that insmod-bfd
will break horribly with the 2.1.8+ kernels. while i haven't really
had time to delve into the secret intricacies of the 2.1.8 insmod, it
looks like it should be possible to bfdize the 2.1.8 insmod. 

the current code deals a little too intimately with elf and aout
formats for me to figure out what it's actually doing. does anyone
have a specification for what insmod really needs to do and what it's
looking for in a module? if i had that, i don't think it would take
that long for me to re-write insmod to use the bfd library.

-a

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: modules and exceptioning 2.1.8+
  1996-11-14 20:45 modules and exceptioning 2.1.8+ a sun
@ 1996-11-15  1:15 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1996-11-15  1:15 UTC (permalink / raw)


> the current code deals a little too intimately with elf and aout
> formats for me to figure out what it's actually doing. does anyone
> have a specification for what insmod really needs to do and what it's
> looking for in a module? if i had that, i don't think it would take
> that long for me to re-write insmod to use the bfd library.

It needs the bounds of the exception table as well as the gp
value for the module, which is .got+0x8000.

I've plans to reorganize the standard module code to clean it
up as well as adding Alpha ELF support at that time.  But you 
are of course welcome to update the current code if you can't
wait.

r~

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-11-15  1:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-14 20:45 modules and exceptioning 2.1.8+ a sun
1996-11-15  1:15 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox