Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Gordon McNutt <gmcnutt@ridgerun.com>
Cc: linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: insmod hates RELA?
Date: Fri, 6 Oct 2000 04:51:51 +0200	[thread overview]
Message-ID: <20001006045151.B4123@bacchus.dhis.org> (raw)
In-Reply-To: <39DCDBA0.8EED1CBD@ridgerun.com>; from gmcnutt@ridgerun.com on Thu, Oct 05, 2000 at 01:50:56PM -0600

On Thu, Oct 05, 2000 at 01:50:56PM -0600, Gordon McNutt wrote:

> I've compiled a module natively on an Indy (linux 2.4.0-test8), but when
> I try to do an insmod (2.3.9) I get this error:
> 
> RELA relocations not supported on this architecture

Correct.  The Indy kernel is 32 bit ELF which uses only REL relocs.

Only the newer N32 and 64 ABI flavours use RELA relocs and we don't use
those file types except for Origin kernels, therefore I'm pretty surprised
to see your report.

> I don't yet understand enough about ELF layouts to know what this means
> and why MIPS doesn't support it. I thought I saw a message in the
> archives stating that 64bit MIPS supports it, but maybe 32bit doesn't.
> I've tried to make sure my compiler options match those being used to
> compile the kernel (which works), but perhaps I'm overlooking something.
> 
> If anyone can give me some hints about what's going wrong I'd greatly
> appreciate it. And if you can reply to me that would be best as I don't
> subscribe to this list.

A possible explanation would be that you use the wrong binutils, have a
corrupt module file or try to load a module for another architecture or
modutils being plain broken?

  Ralf

       reply	other threads:[~2000-10-06  2:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <39DCDBA0.8EED1CBD@ridgerun.com>
2000-10-06  2:51 ` Ralf Baechle [this message]
2000-10-06 10:26   ` insmod hates RELA? Maciej W. Rozycki
2000-10-06 10:57     ` Keith Owens
2000-10-06 12:05       ` Maciej W. Rozycki
2000-10-06 13:22     ` Gordon McNutt
2000-10-06 13:22       ` Gordon McNutt
2000-10-06 13:51       ` Keith Owens
2000-10-06 14:52         ` Gordon McNutt
2000-10-06 14:52           ` Gordon McNutt
2000-10-06 15:14         ` Maciej W. Rozycki

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=20001006045151.B4123@bacchus.dhis.org \
    --to=ralf@uni-koblenz.de \
    --cc=gmcnutt@ridgerun.com \
    --cc=linux-mips@fnet.fr \
    --cc=linux-mips@oss.sgi.com \
    /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