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 15, 1:15 AM
Unknown Object (File)
Thu, Nov 14, 9:26 PM
Unknown Object (File)
Wed, Nov 6, 10:50 PM
Unknown Object (File)
Wed, Nov 6, 10:50 PM
Unknown Object (File)
Wed, Nov 6, 10:50 PM
Unknown Object (File)
Tue, Nov 5, 8:26 AM
Unknown Object (File)
Oct 2 2024, 2:42 PM
Unknown Object (File)
Sep 11 2024, 1:36 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