openssl/crypto/dso
Matthias Kraft 4af14b7b01 Add dladdr() for AIX
Although it deviates from the actual prototype of DSO_dsobyaddr(), this
is now ISO C compliant and gcc -Wpedantic accepts the code.

Added DATA segment checking to catch ptrgl virtual addresses. Avoid
memleaks with every AIX/dladdr() call. Removed debug-fprintf()s.
Added test case for DSO_dsobyaddr(), which will eventually call dladdr().
Removed unecessary AIX ifdefs again.

The implementation can only lookup function symbols, no data symbols.
Added PIC-flag to aix*-cc build targets.

As AIX is missing a dladdr() implementation it is currently uncertain our
exit()-handlers can still be called when the application exits. After
dlclose() the whole library might have been unloaded already.

Signed-off-by: Matthias Kraft <makr@gmx.eu>

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5668)
2018-03-20 21:33:50 -04:00
..
build.info
dso_dl.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
dso_dlfcn.c Add dladdr() for AIX 2018-03-20 21:33:50 -04:00
dso_err.c Put message strings in state files 2017-06-12 15:03:40 -04:00
dso_lib.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
dso_locl.h Add support for reference counting using C11 atomics 2016-11-17 22:02:25 +01:00
dso_openssl.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
dso_vms.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
dso_win32.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00