Page MenuHomeFreeBSD

libc/armv7: remove default verison of alloca
AcceptedPublic

Authored by brooks on Aug 11 2025, 11:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 9, 5:07 PM
Unknown Object (File)
Sat, Nov 8, 10:47 PM
Unknown Object (File)
Nov 2 2025, 8:02 AM
Unknown Object (File)
Nov 2 2025, 7:01 AM
Unknown Object (File)
Oct 21 2025, 1:58 PM
Unknown Object (File)
Oct 21 2025, 1:58 PM
Unknown Object (File)
Oct 21 2025, 2:08 AM
Unknown Object (File)
Oct 20 2025, 3:01 AM
Subscribers
None

Details

Reviewers
imp
manu
kib
andrew
Summary

The alloca() interface has been a macro expanding to __builtin_alloca()
since 2003 (commit 79806b4cdce0, included in FreeBSD 5.2). Even before
that virtually every compiler version I was able to test replaced
alloca() with compiler generated code when targeting C.

Hide it to prevent future (mis)use.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 66160
Build 63043: arc lint + arc unit

Event Timeline

brooks created this revision.

I doubt any binary in the eabi era used this sumbol.

This revision is now accepted and ready to land.Aug 11 2025, 2:11 PM