Page MenuHomeFreeBSD

libc/csu: Pass HWCAP flags to ifunc resolver functions
ClosedPublic

Authored by sarah.walker2_arm.com on Jan 8 2026, 10:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 28, 2:07 PM
Unknown Object (File)
Tue, Feb 24, 2:20 PM
Unknown Object (File)
Thu, Feb 19, 5:31 AM
Unknown Object (File)
Wed, Feb 18, 11:00 AM
Unknown Object (File)
Sat, Feb 14, 3:20 PM
Unknown Object (File)
Wed, Feb 11, 3:19 AM
Unknown Object (File)
Sun, Feb 8, 10:22 PM
Unknown Object (File)
Sun, Feb 8, 10:22 PM
Subscribers

Details

Summary

Function arguments are based on Section 9.4.1 "GNU C Library IFUNC interface"
from "System V ABI for the Arm 64-bit Architecture (AArch64)", 2025Q1.
(https://github.com/ARM-software/abi-aa/releases/download/2025Q1/sysvabi64.pdf)

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69761
Build 66644: arc lint + arc unit

Event Timeline

lib/libc/csu/aarch64/reloc.c
63
lib/libc/csu/aarch64/reloc.c
63

The second arg is no longer const in the other places we define the function pointer type. (not sure if it should be or not as long as it's consistent)

This revision is now accepted and ready to land.Jan 12 2026, 10:55 AM