0
|
1 test for dynload library to resolve symbols from application image itself.
|
|
2 by Daniel Adler in 2010
|
|
3
|
|
4 Description
|
|
5 A test function is specified in the main application, that will be
|
|
6 dynamically resolved on main entry of the test program.
|
|
7
|
|
8 The library path argument to dlLoadLibrary is set to NULL to
|
|
9 specify the application image.
|
|
10
|
|
11 Background
|
|
12 self referencing is important on configurations where there is no
|
|
13 shared library but everything is statically linked.
|
|
14
|
227
|
15 Note that on some platforms, linker flags have to be used so symbol
|
|
16 names are in the binary, at first hand (e.g. --export-dynamic).
|
0
|
17
|