Re: elf2ecoff problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux