Page MenuHomeFreeBSD

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

Authored by dchagin on Jul 2 2023, 3:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 20, 10:44 AM
Unknown Object (File)
Mar 13 2024, 2:45 AM
Unknown Object (File)
Jan 21 2024, 2:51 AM
Unknown Object (File)
Jan 14 2024, 9:17 AM
Unknown Object (File)
Dec 23 2023, 1:05 AM
Unknown Object (File)
Nov 30 2023, 6:18 PM
Unknown Object (File)
Nov 30 2023, 12:17 AM
Unknown Object (File)
Oct 7 2023, 8:55 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