On Wed, Mar 10, 2010 at 09:41:53AM -0800, Stern, Allon wrote:
> On Mar 10, 2010, at 12:03 PM, Daniele Ziglioli wrote:
> 
> >
> > In a uclinux (coldfire) C application ,
> > how can I retrieve the myself data section  addresses
> > (.data,.rodata,.text, etc) ?
> >
> 
> m68k-uclinux-objdump -h
> 
> If you're on a NOMMU system, then you'll have to do it on the .gdb 
> executable, which should be built first, then flattened to produce the final 
> FLAT binary.
> 
> Your toolchain prefix may vary.

But they change at load time.  The kernel knows them.  Does the running
program have any way to find them from the GOT?

-- 
Len Sorensen
_______________________________________________
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