view test/resolve_self/README.txt @ 420:13475895a79b r1.3

- prep for 1.3 release, version number bump, etc.
author Tassilo Philipp
date Fri, 17 Dec 2021 11:07:30 +0100
parents 318a9ffc2b85
children
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.

Note that on some platforms, linker flags have to be used so symbol
names are in the binary, at first hand (e.g. --export-dynamic).