view test/resolve_self/README.txt @ 216:28bf0b231bce

- dynload man page clarification about resolving own symbols
author Tassilo Philipp
date Thu, 06 Apr 2017 11:40:15 +0200
parents 3e629dc19168
children 318a9ffc2b85
line wrap: on
line source

test for dynload library to resolve symbols from application image itself.
by Daniel Adler in 2010

Description
A test function is specified in the main application, that will be 
dynamically resolved on main entry of the test program.

The library path argument to dlLoadLibrary is set to NULL to 
specify the application image.

Background
self referencing is important on configurations where there is no
shared library but everything is statically linked.