dl
https://github.com/fpc/FPCSource/blob/main/rtl/unix/dl.pp
https://github.com/fpc/FPCSource/blob/main/rtl/unix/dynlibs.inc
The inside story on shared libraries and dynamic loading
Program Library HOWTO
ELF: From The Programmer’s Perspective
https://www.linux.co.cr/free-unix-os/review/acrobat/950517.pdf
Load-time relocation of shared libraries
https://eli.thegreenplace.net/2011/08/25/load-time-relocation-of-shared-libraries
The True Story of Hello World
https://lisha.ufsc.br/teaching/os/exercise/hello.html
The smallest program.
dladdr,
dlopen
dlsym
dlclose
TLibHandle
is an integer that can be used to hold an address.
RawByteString
is an alias to AnsiString
.
TODO
Read
A look at dynamic linking
https://www.cs.dartmouth.edu/~sergey/cs258/dynamic-linking.txt