Page MenuHomeFreeBSD

rtld-elf: Mark tls_init_align __unused in free_tls for Variant I TLS.
ClosedPublic

Authored by jhb on Jun 20 2023, 4:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 29, 2:35 AM
Unknown Object (File)
Fri, Nov 29, 2:35 AM
Unknown Object (File)
Fri, Nov 29, 2:34 AM
Unknown Object (File)
Fri, Nov 29, 2:13 AM
Unknown Object (File)
Nov 15 2024, 1:15 AM
Unknown Object (File)
Nov 14 2024, 9:26 PM
Unknown Object (File)
Nov 6 2024, 10:50 PM
Unknown Object (File)
Nov 6 2024, 10:50 PM
Subscribers

Details

Summary

Some architectures (powerpc and RISC-V) always use 0 for the post TLS
size in which case tls_init_align isn't used by
calculate_tls_post_size. Use __unused to quiet the warning for these
platforms.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable