mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
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:
@ -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. */
|
||||
|
Reference in New Issue
Block a user