I remember answering this a month ago but here's the answer
again.

1. If by "access runtime image of a module from another
module" you mean to access globally defined data or
functions in one module from another,  you have to use --
assuming you want an int  variable called myData --
        EXPORT_SYMBOL( myData)
in the module containing myData and "extern int myData" in
the one doing the referencing.  You also have to load the
one doing the export first.

2.  A module is a .o-file and its format is very well
documented.

    Norm


----- Original Message -----
From: A V <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 15, 2001 1:16 PM
Subject: [rtl] accessing a module


>
> 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. And one more doubt
> regarding ELF format is will there be any header in
> runtime image of a module or a program.
>
> Many Many Advanced thanks
> 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/
>

-- [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/

Reply via email to