This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]