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)
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
Unknown Object (File)
Sep 4 2024, 10:11 AM
Unknown Object (File)
Aug 20 2024, 2:57 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 52208
Build 49099: arc lint + arc unit