This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
ld.so mechanism
- From: "Jeson Martajaya" <jeson at mail dot utexas dot edu>
- To: <gcc at gcc dot gnu dot org>
- Cc: <browne at cs dot utexas dot edu>,<mitra at cs dot utexas dot edu>
- Date: Tue, 25 Mar 2003 01:13:30 -0600
- Subject: ld.so mechanism
Hello,
I have a Thesis that have a topic "Remote Dynamic Linking". My plan is
trying to expand the role of Linux linker/loader, ld.so, from
linking/loading a particular program to a shared library that is stored in
remote computer.
I have several preliminary questions:
1. Suppose a C function that have signature "int foo(int)" that is stored in
foolib.so . Suppose prog.c has a line "extern int foo(int)". Do you know
where does this foo signature is stored, so that ld can automatically link
prog.c to this function?
2. Which file in the gcc-3.2.2 sourcecode should I begin to look at? I'm
using Redhat 8.0 that is using the latest gcc (3.2.2 20030923)
Thank you so much for your help,
Jeson Martajaya
University of Texas at Austin
Computer Science Department