linux-mips
[Top] [All Lists]

Re: elf2ecoff problem

To: jbglaw@lug-owl.de
Subject: Re: elf2ecoff problem
From: Keith Owens <kaos@ocs.com.au>
Date: Sun, 25 Mar 2001 09:21:56 +1000
Cc: linux-mips@oss.sgi.com
In-reply-to: Your message of "Sat, 24 Mar 2001 22:17:58 +0100." <20010324221757.B9810@lug-owl.de>
Sender: owner-linux-mips@oss.sgi.com
On Sat, 24 Mar 2001 22:17:58 +0100, 
Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
>./elf2ecoff /home/jbglaw/kernel_src/work/mips_linux/linux/vmlinux 
>vmlinux.ecoff -a
>Non-contiguous data can't be converted.
> 17 .modinfo      00000018  ffffffff802730a0  ffffffff802730a0  001700a0  2**2
>                  CONTENTS, ALLOC, LOAD, READONLY, DATA

This may not be relevant but vmlinux should not have a .modinfo
section.  .modinfo is only created when code is compiled with -DMODULE
so why is it in vmlinux?

There was a recent change to the attributes of .modinfo, from CONTENTS,
READONLY to CONTENTS, ALLOC, LOAD, READONLY, DATA, this change was to
remove gcc warning messages.  insmod treats sections .modinfo and
.modstring as special cases and turns off the SHF_ALLOC flag, elf2ecoff
might need special processing for these sections.


<Prev in Thread] Current Thread [Next in Thread>