Skip to content
Commit c489c350 authored by Szabolcs Nagy's avatar Szabolcs Nagy
Browse files

elf: Fix comments and logic in _dl_add_to_slotinfo



Since

  commit a509eb11
  Avoid late dlopen failure due to scope, TLS slotinfo updates [BZ #25112]

the generation counter update is not needed in the failure path.
That commit ensures allocation in _dl_add_to_slotinfo happens before
the demarcation point in dlopen (it is called twice, first time is for
allocation only where dlopen can still be reverted on failure, then
second time actual dtv updates are done which then cannot fail).

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent 8f85075a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment