Jivin Mike Frysinger lays it down ...
> 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 

Ok.

> 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 ?


If you are happy with it where it is then I won't complain ;-)

Cheers,
Davidm

-- 
David McCullough,      david_mccullo...@mcafee.com,  Ph:+61 734352815
McAfee - SnapGear      http://www.mcafee.com         http://www.uCdot.org
_______________________________________________
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