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#