Page MenuHomeFreeBSD

csu: Add the prologue and epilogue to the _init and _fini on i386
ClosedPublic

Authored by dchagin on Jul 9 2023, 12:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 26, 6:03 PM
Unknown Object (File)
Thu, Jan 23, 11:56 AM
Unknown Object (File)
Dec 5 2024, 5:48 PM
Unknown Object (File)
Dec 1 2024, 8:03 PM
Unknown Object (File)
Nov 29 2024, 7:17 AM
Unknown Object (File)
Nov 24 2024, 12:21 PM
Unknown Object (File)
Nov 20 2024, 8:16 PM
Unknown Object (File)
Nov 10 2024, 10:38 AM
Subscribers

Details

Summary

Normally, modern unwinders uses Dwarf information to unwind stack,
however in case when the code is not annotated by Dwarf instructions,
unwinders fallbacks to a frame-pointer based algorithm.

That is allows libunwind to unwind stack from global constructors and
destructors. Also it makes gdb happy as it printed nonexistent frame
before.

Diff Detail

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