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
F156833966: D54599.id169592.diff
Sat, May 16, 7:20 PM
F156833961: D54599.id169400.diff
Sat, May 16, 7:20 PM
F156833952: D54599.id169510.diff
Sat, May 16, 7:20 PM
F156833945: D54599.id169314.diff
Sat, May 16, 7:20 PM
F156833526: D54599.diff
Sat, May 16, 7:16 PM
Unknown Object (File)
Thu, May 14, 11:47 AM
Unknown Object (File)
Thu, May 14, 4:15 AM
Unknown Object (File)
Wed, May 13, 7:42 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 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