Page MenuHomeFreeBSD

libc,libthr: Remove __pthread_distribute_static_tls
Needs ReviewPublic

Authored by jrtc27 on Wed, Jun 18, 9:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 28, 12:19 PM
Unknown Object (File)
Thu, Jun 26, 10:47 AM
Unknown Object (File)
Wed, Jun 25, 5:46 AM
Unknown Object (File)
Wed, Jun 25, 5:39 AM
Unknown Object (File)
Tue, Jun 24, 5:40 PM
Unknown Object (File)
Sun, Jun 22, 8:58 PM
Unknown Object (File)
Thu, Jun 19, 3:55 PM
Unknown Object (File)
Thu, Jun 19, 3:44 PM
Subscribers

Details

Reviewers
kib
Summary

This private API is no longer used by rtld-elf so can be removed.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 64960
Build 61843: arc lint + arc unit

Event Timeline

lib/libc/gen/libc_interposing_table.c
45

My opinion is that we should keep the slot unused if we remove the interposer. If anything, this would make the upgrades easier, and not break half-upgraded systems to the state where /rescue must be used.

lib/libc/gen/libc_interposing_table.c
45

As in turn it into __INTERPOS_reserved0, and allow it to be reused after one release cycle when we know the slot definitely won't be in use by system libraries any more?

lib/libc/gen/libc_interposing_table.c
45

Not sure about reuse, but for now yes, just reserve the index in the table.