>       We have such a utility for the MIPS implimentation of the kernel
>in question. It packs the kernel and initial servers into one ELF file the
>firmware loads, I'm just trying to avoid porting it to ARM, it seems that
>this is whats required though :(

Actually I wonder if GNU ld could be persuaded to do what you need using a 
suitable linker script, kind of:

PHDRS
{
  headers PT_PHDR PHDRS ;
  interp PT_INTERP ;
  text PT_LOAD FILEHDR PHDRS ;
  data PT_LOAD ;
  dynamic PT_DYNAMIC ;
  server PT_LOAD ;
}

SECTIONS
{
  .text :
  {
    *(.text)
  }
  .data :
  {
    *(.data)
  }
  .bss :
  {
   *(.bss)
  }
  .server :
  {
   /sbin/init
  }
}

... you get the idea.  I haven't actually tried this but it should stand a 
reasonable chance.

p.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to