mirror of git://sourceware.org/git/glibc.git
elf: Remove redundant add_to_global_resize_failure call from dl_open_args
The second call does not do anything because the data structures have
already been resized by the call that comes before the demarcation
point. Fixes commit a509eb117f
("Avoid late dlopen failure due to scope, TLS slotinfo updates
[BZ #25112]").
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
eec0f4218c
commit
ad78d70275
|
@ -769,11 +769,6 @@ dl_open_worker (void *a)
|
|||
DL_STATIC_INIT (new);
|
||||
#endif
|
||||
|
||||
/* Perform the necessary allocations for adding new global objects
|
||||
to the global scope below, via add_to_global_update. */
|
||||
if (mode & RTLD_GLOBAL)
|
||||
add_to_global_resize (new);
|
||||
|
||||
/* Run the initializer functions of new objects. Temporarily
|
||||
disable the exception handler, so that lazy binding failures are
|
||||
fatal. */
|
||||
|
|
Loading…
Reference in New Issue