glibc/sysdeps
Carlos O'Donell ccdb048df4 Fix recursive dlopen.
The ability to recursively call dlopen is useful for malloc
implementations that wish to load other dynamic modules that
implement reentrant/AS-safe functions to use in their own
implementation.

Given that a user malloc implementation may be called by an
ongoing dlopen to allocate memory the user malloc
implementation interrupts dlopen and if it calls dlopen again
that's a reentrant call.

This patch fixes the issues with the ld.so.cache mapping
and the _r_debug assertion which prevent this from working
as expected.

See:
https://sourceware.org/ml/libc-alpha/2014-12/msg00446.html
2015-01-21 01:51:10 -05:00
..
aarch64 Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
alpha Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
arm Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
generic Fix recursive dlopen. 2015-01-21 01:51:10 -05:00
gnu ARM: Consolidate with generic unwinder wrapper code 2015-01-05 15:42:16 -08:00
hppa Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
i386 Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
ia64 Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
ieee754 Fix ldbl-96 scalblnl underflowing results (bug 17803). 2015-01-12 23:02:14 +00:00
init_array Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
m68k Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
mach Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
microblaze MicroBlaze: Avoid pointer to integer conversion warning 2015-01-09 14:49:27 +10:00
mips Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
nios2 Commit nios2 port to master. 2015-01-17 22:29:12 -08:00
nptl Fix semaphore destruction (bug 12674). 2015-01-21 00:46:16 -05:00
posix Fix shm-directory.h #include. 2015-01-09 16:08:14 -08:00
powerpc Fix powerpc-nofpu fesetenv namespace (bug 17748). 2015-01-14 21:35:40 +00:00
pthread Some #include cleanup in aio/timer code. 2015-01-08 15:38:15 -08:00
s390 S390: Get rid of linknamespace failures for string functions. 2015-01-16 09:17:32 +01:00
sh Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
sparc Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
tile Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
unix Fix semaphore destruction (bug 12674). 2015-01-21 00:46:16 -05:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
x86 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
x86_64 Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00