On Wednesday, December 15, 2010 20:40:14 David McCullough wrote:
> I thought that if it's not needed in the flat file,  perhaps you should
> have put it lower in the ld script like the .debug sections etc,  that way
> it will not get pushed into the text/data of the flat executable but should
> still be in the elf file for debugging etc ?

i tried that originally, but kept getting linker errors.  i think it's because 
the section has the alloc (A) flag on it since on ELF systems, it does get 
loaded and possibly checked at runtime.  to get the FLAT file to discard it, i 
think we'd have to be a little more tricky ?  perhaps create a new program 
header named "discard" and have the elf2flt utility always ignore the last 
program header ?
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to