annotate test/resolve_self/README.txt @ 227:318a9ffc2b85

- resolve_self test cleanups
author Tassilo Philipp
date Sun, 16 Apr 2017 13:29:36 +0200
parents 3e629dc19168
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 test for dynload library to resolve symbols from application image itself.
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 by Daniel Adler in 2010
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 Description
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 A test function is specified in the main application, that will be
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 dynamically resolved on main entry of the test program.
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 The library path argument to dlLoadLibrary is set to NULL to
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 specify the application image.
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 Background
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 self referencing is important on configurations where there is no
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 shared library but everything is statically linked.
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14
227
318a9ffc2b85 - resolve_self test cleanups
Tassilo Philipp
parents: 0
diff changeset
15 Note that on some platforms, linker flags have to be used so symbol
318a9ffc2b85 - resolve_self test cleanups
Tassilo Philipp
parents: 0
diff changeset
16 names are in the binary, at first hand (e.g. --export-dynamic).
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17