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, Nov 10, 10:38 AM
Unknown Object (File)
Wed, Nov 6, 12:04 PM
Unknown Object (File)
Oct 16 2024, 5:45 PM
Unknown Object (File)
Oct 14 2024, 10:37 PM
Unknown Object (File)
Oct 14 2024, 3:41 AM
Unknown Object (File)
Oct 12 2024, 7:40 AM
Unknown Object (File)
Oct 11 2024, 12:06 AM
Unknown Object (File)
Oct 10 2024, 6:45 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 Not Applicable
Unit
Tests Not Applicable