>QUESTION: I've got a kernel I'm developing and I'd like to add the initial
>server to the kernel's elf file (this makes loading easier for me because
>its hard to deal with more then one elf file with my firmware) by adding
>it to its own section with its own segment description. I tried using
>objcopy but it doesn't give you any way of adding a new segment
>descriptor! When I try to set the section flag to loadable it complains
>the section is not assosiated with any segment.
>       I want to add the initial server as a binary file to the kernel
>elf executable AFTER the kernel executable is linked. 

Adding a new section to an executable is not a particularly meaningful thing 
to do.  In the execution view of ELF it is mostly segments that matter, which 
is probably why objcopy is complaining.

Could you explain what you want to do with this new section?

p.


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

Reply via email to