Page MenuHomeFreeBSD

libc/armv7: remove default verison of alloca
ClosedPublic

Authored by brooks on Aug 11 2025, 11:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 18, 3:03 AM
Unknown Object (File)
Thu, Mar 12, 5:55 AM
Unknown Object (File)
Wed, Mar 11, 10:11 AM
Unknown Object (File)
Tue, Mar 10, 5:09 PM
Unknown Object (File)
Mon, Mar 9, 3:57 PM
Unknown Object (File)
Feb 28 2026, 1:08 AM
Unknown Object (File)
Feb 27 2026, 5:00 PM
Unknown Object (File)
Feb 27 2026, 6:00 AM
Subscribers
None

Details

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 Not Applicable
Unit
Tests Not Applicable

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
This revision was automatically updated to reflect the committed changes.