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)
Sun, Aug 2, 6:02 AM
Unknown Object (File)
Sun, Aug 2, 3:33 AM
Unknown Object (File)
Sat, Aug 1, 5:02 AM
Unknown Object (File)
Fri, Jul 31, 4:09 PM
Unknown Object (File)
Wed, Jul 29, 5:58 PM
Unknown Object (File)
Tue, Jul 28, 1:44 PM
Unknown Object (File)
Sun, Jul 26, 3:53 PM
Unknown Object (File)
Sun, Jul 26, 11:04 AM
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 Not Applicable
Unit
Tests Not Applicable

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