1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

Put in an attempt at stack trace/unwind records.

This commit is contained in:
Peter Wemm 2001-11-03 06:31:27 +00:00
parent b5c8548311
commit 4250f47ada
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85952

View File

@ -36,14 +36,22 @@
.global _init#
.proc _init#
_init:
.regstk 0,2,0,0
.prologue 12,loc0
.save ar.pfs,loc1
alloc loc1=ar.pfs,0,2,0,0
mov loc0=b0 /* Save return addr */
.body
.endp _init#
.section .fini,"ax",@progbits
.global _fini#
.proc _fini#
_fini:
.regstk 0,2,0,0
.prologue 12,loc0
.save ar.pfs,loc1
alloc loc1=ar.pfs,0,2,0,0
mov loc0=b0 /* Save return addr */
.body
.endp _fini#