--- David Olofson <[EMAIL PROTECTED]> wrote: > On Thursday 15 November 2001 19:16, A V wrote: > > Hi, > > > > This one i have mailed one month back. But > still as > > i didnt get answer i am mailing again. I tried in > all > > ways i know. > > I want to know how to access runtime image of a > > module from another module. > > Not sure what you mean... The object file image, or > the loaded, linked > and relocated result?
I mean accessing loaded, linked and relocated module. > > > > And one more doubt > > regarding ELF format is will there be any header > in > > runtime image of a module or a program. > > Yes, there has to be, in order to "connect" symbol > references to the > corresponding symbols. > > Not sure how ELF does it, but the actual code in > object files usually > stuff indexes or offsets where the pointers should > go, and then add > chunks with a lists of offsets to these pointers. > Depending on chunk > type, referred "pointers" will be converted into > real pointers either by > adding the memory base address of some other chunk, > or by using the > "pointer" value as an index or offset into a list of > symbol names, which > are then looked up to get the real addresses. > > > Anyway, the ELF format has to be documented > somewhere, right? Must be > some way to find it... A quick seach on Google, and > some digging around > messy web sites gave me this: > > > http://www.caldera.com/developers/gabi/latest/contents.html > > http://www.muppetlabs.com/~breadbox/software/ELF.txt I know and read the ELF documentation given by TIS. But still i have doubt regarding modules. Regards Venkat __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/
