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)
Tue, Jun 25, 3:20 AM
Unknown Object (File)
May 27 2024, 2:10 AM
Unknown Object (File)
May 25 2024, 12:04 AM
Unknown Object (File)
May 11 2024, 5:30 AM
Unknown Object (File)
May 8 2024, 1:37 AM
Unknown Object (File)
May 2 2024, 2:10 PM
Unknown Object (File)
May 2 2024, 2:09 PM
Unknown Object (File)
May 2 2024, 1:22 PM
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