on 29/09/2010 17:13 PL said the following:
> It seems like it is not a problem in my own code, since readelf -S on a 
> elf file
> gives me the same results as my debug messages. I've created an empty 
> module, to
> simplify debugging. Both my code, and readelf says, that '.text' section 
> address
> is 0x3e0, and its size is 7 bytes. Adding 0x3e0 to lf->address points to 
> a valid location.
> 
> '.data' is supposed to be at 0x1424 (again, both my code and readelf 
> returns the same thing),
> but the actual data starts at lf->address + 0x3e7. How do I know ? I've 
> added global
> initialized string variable in empty test module, and Im looking at the 
> memory to determine
> it's location. I'm not sure what is wrong then.


Can you post a link to the compiled test module?

-- 
Andriy Gapon
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to