From: Keith Owens <kaos@melbourne.sgi.com>
To: Brady Brown <bbrown@ti.com>
Cc: SGI news group <linux-mips@oss.sgi.com>
Subject: Re: ELF/Modutils problem
Date: Wed, 20 Sep 2000 11:24:25 +1100 [thread overview]
Message-ID: <1289.969409465@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Tue, 19 Sep 2000 18:03:08 MDT." <39C7FEBC.5DB355A2@ti.com>
On Tue, 19 Sep 2000 18:03:08 -0600,
Brady Brown <bbrown@ti.com> wrote:
>I'm having trouble getting modutils 2.3.10 to work on a little endian
>MIPS box running a 2.4.0-test3 kernel. I am cross compiling the kernel
>and modules on an i386 using egcs1.0.3a-2 and binutils2.8.1-1. It
>appears that the symbol table format in the ELF file created by
>mipsel-linux-gcc during a module build is incorrect.
>
>As I read the ELF 1.1 spec - all symbols with STB_LOCAL bindings should
>precede all other symbols (weak and global) in the symbol table.
modutils 2.3.11 includes a sanity check on the number of local symbols
precisely because of this MIPS problem. I agree with you that mips gcc
is violating the ELF standard, 2.3.11 just detects this and issues an
error message instead of overwriting memory but gcc needs to be fixed.
BTW, you might want to upgrade to modutils >= 2.3.15, there are some
MIPS patches in modutils 2.3.15.
next prev parent reply other threads:[~2000-09-20 0:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-20 0:03 ELF/Modutils problem Brady Brown
2000-09-20 0:24 ` Keith Owens [this message]
2000-09-21 13:36 ` Ralf Baechle
2000-09-22 9:57 ` Keith Owens
2000-09-22 13:31 ` Ralf Baechle
2000-09-22 15:23 ` Brady Brown
2000-09-23 21:06 ` Ralf Baechle
2000-09-23 22:03 ` Ulf Carlsson
2000-09-27 10:34 ` Ralf Baechle
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=1289.969409465@kao2.melbourne.sgi.com \
--to=kaos@melbourne.sgi.com \
--cc=bbrown@ti.com \
--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