This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Running SO files
- From: "Rodrigo Dominguez" <roddomi at hotmail dot com>
- To: <binutils at sourceware dot org>
- Date: Fri, 30 May 2008 17:57:10 -0400
- Subject: Running SO files
Hi,
I have noticed that some shared object (.so) files can be executed. For
example, I can type:
$ /lib/libc.so.6
which prints a message with the version of GNU C library and other
information. How does this work? How is it possible to execute a shared
object file? Does it have a main/start function? How can I create such a
file (one that can be executed)? I have also noticed that this is not true
for every SO file. I would appreciate any information on how this works.
Thank you,
Rodrigo