Skip to content
Commit e72ef23e authored by Florian Weimer's avatar Florian Weimer
Browse files

elf: Simplify software TM implementation in _dl_find_object



With the current set of fences, the version update at the start
of the TM write operation is redundant, and the version update
at the end does not need to use an atomic read-modify-write
operation.

Also use relaxed MO stores during the dlclose update, and skip any
version changes there.

Suggested-by: default avatarSzabolcs Nagy <szabolcs.nagy@arm.com>
Reviewed-by: default avatarSzabolcs Nagy <szabolcs.nagy@arm.com>
parent 6b0978c1
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