1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-28 22:03:42 +01:00
Commit graph

1220 commits

Author SHA1 Message Date
homeip.net!davidm
0dfc1c87ed Regenerate.
(Logical change 1.254)
2004-08-20 11:26:49 +00:00
homeip.net!davidm
f028c7db74 (lib_LTLIBRARIES_cdep_setjmp): New macro. Move libunwind-setjmp.la
from lib_LTLIBRARIES_cdep to here.
(libunwind_la_SOURCES_x86_64_common): Mention x86_64/ucontext_i.h so
	it gets included in the tar-ball, too.
(lib_LTLIBRARIES): List $(lib_LTLIBRARIES_cdep_setjmp) after the
	other libraries.

(Logical change 1.254)
2004-08-20 11:26:49 +00:00
homeip.net!davidm
642607dbaa Cast register indices of type unw_word_t to (unsigned int) before
printing them.  Avoids compiler-warning for 64-bit targets.

(apply_reg_state): Handle the special case where the stack-pointer
	plays the role of the CFA and the stack-pointer hasn't
	been saved.  This is based on a patch by Max Asbock.

(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
6058013abe (unw_step): If dwarf_step() fails, fall back on using the frame-chain.
In theory, this may not be needed.  In practice, I find that
	Red Hat Enterprise Linux AS release 3, the _start() routine has
	no unwind-info, but we need to be able to unwind into this
	routine to find the end-of-frame-chain marker (RBP == 0).

(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
be2bed2712 (tdep_access_reg): If c->dwarf.cfa_is_sp is set, treat UNW_X86_64_RSP
as a read-only alias of CFA.

(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
9ac7a860d1 (parse_cie): Clarify the comment about the default FDE-encoding a bit.
(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
99784e02d3 (_UPTi_find_unwind_table): Provide dummy x86-64 implementation so
"make check" can be run.

(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
d8c89b8a01 (_UPT_reg_offset): Provide x86-64 register offsts (untested).
(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
51ef1210e8 Include ucontext_i.h.
(unw_step): Fixup signal-frame-skipping code so it can be cross-compiled.

(Logical change 1.251)
2004-08-19 14:00:14 +00:00
homeip.net!davidm
43425a9beb (Logical change 1.251) 2004-08-19 14:00:14 +00:00
homeip.net!davidm
c0603a8ebc Initial revision 2004-08-19 14:00:14 +00:00
ibm.com!masbock
e407f9a720 Regenerate.
(Logical change 1.249)
2004-08-19 13:39:10 +00:00
ibm.com!masbock
aa9a917cb4 Add x86_64 support.
(Logical change 1.249)
2004-08-19 13:39:10 +00:00
ibm.com!masbock
a766efd844 (Logical change 1.249) 2004-08-19 13:39:10 +00:00
ibm.com!masbock
58e37267be Initial revision 2004-08-19 13:39:10 +00:00
homeip.net!davidm
077322d414 Drop DWARF-parsing debug prints from level 16 to 15.
(parse_cie): Pick correct default for FDE-encoding, not just DW_EH_PE_omit.

(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
aae368ace2 Drop DWARF-parsing debug prints from level 16 to 15.
(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
e9045e3cca Add include of dwarf_i.h now that we need dwarf_reads32().
Drop DWARF-parsing debug prints from level 16 to 15.
(struct table_entry): Change member types from unw_word_t to int32_t.  The members
	need to be of a signed type and forcing them to 32 bits makes the type
	work for both 32-bit and 64-bit executables (up to 4GB of text-size).
(callback): Only allow search tables which have 32-bit members.
	Fix initialization of di->u.rti.table_len to express table-length as a count
	of unw_word_t, as it's defined to be (we get lucky here: even with 32-bit
	members, each table-entry contains two members so we're guaranteed that the
	table has a size that is an integer-multiple of unw_word_t even on 64-bit
	platforms).
(lookup): Change type of "rel_ip" from unw_word_t to int32_t.  Simplify the
	code a bit.
(remote_read): Delete.
(remote_lookup): Use dwarf_reads32() instead of remote_read() to read out table
	members.  Simplify code a bit.

(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
5742642c24 (unw_step): Drop extra 'x' from Debug statement.
(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
1ba865a631 Regenerate.
(Logical change 1.246)
2004-08-19 10:45:23 +00:00
homeip.net!davidm
66100609bb Add alias required by ia64 unwind specification.
(Logical change 1.246)
2004-08-19 10:45:23 +00:00
homeip.net!davidm
ccdd644cf2 (SOVERSION): Change from 3:0:2 to 0:0:0 for ia64 unwind-specification compliance.
(Logical change 1.246)
2004-08-19 10:45:23 +00:00
bea.com!thallgre
779632ee82 Regenerate.
(Logical change 1.245)
2004-08-18 15:16:46 +00:00
bea.com!thallgre
0f818455ce Initial revision 2004-08-18 15:16:46 +00:00
bea.com!thallgre
cb503ba4e5 (libunwind_la_SOURCES_common): Mention mi/strerror.c.
(Logical change 1.245)
2004-08-18 15:16:46 +00:00
bea.com!thallgre
48cc8c5712 (Logical change 1.245) 2004-08-18 15:16:46 +00:00
hp.com!davidm
54b9ba95f9 Drop include of <libunwind.h> and #ifdef checks.
(Logical change 1.244)
2004-08-18 10:57:18 +00:00
hp.com!davidm
2f6b56efda (unw_init_remote): Redirect to unw_init_local() if we're initializing for
the local address-space.  This makes test-init-remote.c work.

(Logical change 1.243)
2004-08-18 10:50:12 +00:00
hp.com!davidm
f9c59cd814 Rename mk_Gcursor_i_ia64_SOURCES to ia64_mk_Gcursor_i_SOURCES.
Likewise for mk_Lcursor_i_ia64_SOURCES.

(Logical change 1.242)
2004-08-18 10:43:50 +00:00
hp.com!davidm
fb83398cec Regenerate.
(Logical change 1.242)
2004-08-18 10:43:50 +00:00
homeip.net!davidm
8f4a9df420 Rename: src/x86/siglongjmp-x86.S -> src/x86/siglongjmp.S
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b8f4069f9f Rename: src/x86/siglongjmp-x86.S -> src/x86/siglongjmp.S
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
c298861c67 Rename: src/x86/regname-x86.c -> src/x86/regname.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
85b14bb7f6 Rename: src/x86/regname-x86.c -> src/x86/regname.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
0219cd0e73 Rename: src/x86/is_fpreg-x86.c -> src/x86/is_fpreg.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
188032186b Rename: src/x86/is_fpreg-x86.c -> src/x86/is_fpreg.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
2e94aaed46 Rename: src/x86/Gstep-x86.c -> src/x86/Gstep.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
3dab98edbc Rename: src/x86/Gstep-x86.c -> src/x86/Gstep.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
fe971b1989 Rename: src/x86/Gresume-x86.c -> src/x86/Gresume.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
bcd0aff352 Rename: src/x86/Gresume-x86.c -> src/x86/Gresume.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
e7671cd144 Rename: src/x86/Gregs-x86.c -> src/x86/Gregs.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
6607424863 Rename: src/x86/Gregs-x86.c -> src/x86/Gregs.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
8652314904 Rename: src/x86/Gis_signal_frame-x86.c -> src/x86/Gis_signal_frame.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
e1eb2d4656 Rename: src/x86/Gis_signal_frame-x86.c -> src/x86/Gis_signal_frame.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
475062bfda Rename: src/x86/Ginit_remote-x86.c -> src/x86/Ginit_remote.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
9f2cd2318d Rename: src/x86/Ginit_remote-x86.c -> src/x86/Ginit_remote.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
66fe735a7d Rename: src/x86/Ginit_local-x86.c -> src/x86/Ginit_local.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
db8a0c4373 Rename: src/x86/Ginit_local-x86.c -> src/x86/Ginit_local.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
5bb574d178 Rename: src/x86/Ginit-x86.c -> src/x86/Ginit.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
588192d301 Rename: src/x86/Ginit-x86.c -> src/x86/Ginit.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
a2bd90a8ed Rename: src/x86/Gglobal-x86.c -> src/x86/Gglobal.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
ab6b58eae7 Rename: src/x86/Gglobal-x86.c -> src/x86/Gglobal.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
9f6b814a25 Rename: src/x86/Gget_save_loc-x86.c -> src/x86/Gget_save_loc.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
cf0945223e Rename: src/x86/Gget_save_loc-x86.c -> src/x86/Gget_save_loc.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
387d1d739b Rename: src/x86/Gget_proc_info-x86.c -> src/x86/Gget_proc_info.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
a4279b3808 Rename: src/x86/Gget_proc_info-x86.c -> src/x86/Gget_proc_info.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
499307bf0f Rename: src/x86/Gcreate_addr_space-x86.c -> src/x86/Gcreate_addr_space.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
1682f9745e Rename: src/x86/Gcreate_addr_space-x86.c -> src/x86/Gcreate_addr_space.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
75edef8597 Rename: src/ia64/sigsetjmp-ia64.S.S -> src/ia64/sigsetjmp.S
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
c38b083433 Rename: src/ia64/sigsetjmp-ia64.S.S -> src/ia64/sigsetjmp.S
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
9c5fe5391f Rename: src/ia64/siglongjmp-ia64.S.S -> src/ia64/siglongjmp.S
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b54bec50af Rename: src/ia64/siglongjmp-ia64.S.S -> src/ia64/siglongjmp.S
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
963baf6f1e Rename: src/ia64/setjmp-ia64.S.S -> src/ia64/setjmp.S
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
1f694b02c7 Rename: src/ia64/setjmp-ia64.S.S -> src/ia64/setjmp.S
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
f62002fe2b Rename: src/ia64/regname-ia64.c -> src/ia64/regname.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
5710ea37cc Rename: src/ia64/regname-ia64.c -> src/ia64/regname.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
34d88fc6b5 Rename: src/ia64/mk_Gcursor_i-ia64.c -> src/ia64/mk_Gcursor_i.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
8bc587f1a4 Rename: src/ia64/mk_Gcursor_i-ia64.c -> src/ia64/mk_Gcursor_i.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
82b4b77ce2 Rename: src/ia64/getcontext-ia64.S.S -> src/ia64/getcontext.S
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
4ba03baf6a Rename: src/ia64/getcontext-ia64.S.S -> src/ia64/getcontext.S
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
2db9a97a45 Rename: src/ia64/dyn_info_list-ia64.S.S -> src/ia64/dyn_info_list.S
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
79373ff6a5 Rename: src/ia64/dyn_info_list-ia64.S.S -> src/ia64/dyn_info_list.S
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
01951e551e Rename: src/ia64/Gtables-ia64.c -> src/ia64/Gtables.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
2142c20307 Rename: src/ia64/Gtables-ia64.c -> src/ia64/Gtables.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
c99f1225d3 Rename: src/ia64/Gstep-ia64.c -> src/ia64/Gstep.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
f1734db273 Rename: src/ia64/Gstep-ia64.c -> src/ia64/Gstep.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b6d4bfeb29 Rename: src/ia64/Gscript-ia64.c -> src/ia64/Gscript.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
f9494563e7 Rename: src/ia64/Gscript-ia64.c -> src/ia64/Gscript.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
5a3ded7a0f Rename: src/ia64/Gresume-ia64.c -> src/ia64/Gresume.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
6139bb71c1 Rename: src/ia64/Gresume-ia64.c -> src/ia64/Gresume.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
f356380897 Rename: src/ia64/Gregs-ia64.c -> src/ia64/Gregs.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b3f681603b Rename: src/ia64/Gregs-ia64.c -> src/ia64/Gregs.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
8f58a1cf9c Rename: src/ia64/Grbs-ia64.c -> src/ia64/Grbs.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
38b586f953 Rename: src/ia64/Grbs-ia64.c -> src/ia64/Grbs.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
9288e6b155 Rename: src/ia64/Gparser-ia64.c -> src/ia64/Gparser.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
cc8c1cc220 Rename: src/ia64/Gparser-ia64.c -> src/ia64/Gparser.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
28b4cef6ba Rename: src/ia64/Gis_signal_frame-ia64.c -> src/ia64/Gis_signal_frame.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
5bbef35906 Rename: src/ia64/Gis_signal_frame-ia64.c -> src/ia64/Gis_signal_frame.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
7178b67138 Rename: src/ia64/Ginstall_cursor-ia64.S.S -> src/ia64/Ginstall_cursor.S
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
5abc74b276 Rename: src/ia64/Ginstall_cursor-ia64.S.S -> src/ia64/Ginstall_cursor.S
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
5b0dd22644 Rename: src/ia64/Ginit_remote-ia64.c -> src/ia64/Ginit_remote.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
1883db9df1 Rename: src/ia64/Ginit_remote-ia64.c -> src/ia64/Ginit_remote.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
6fecde079e Rename: src/ia64/Ginit_local-ia64.c -> src/ia64/Ginit_local.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
5a0713e6ab Rename: src/ia64/Ginit_local-ia64.c -> src/ia64/Ginit_local.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
225a76c872 Rename: src/ia64/Ginit-ia64.c -> src/ia64/Ginit.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
697ad31494 Rename: src/ia64/Ginit-ia64.c -> src/ia64/Ginit.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b5fc84d770 Rename: src/ia64/Gglobal-ia64.c -> src/ia64/Gglobal.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
0c335ee339 Rename: src/ia64/Gglobal-ia64.c -> src/ia64/Gglobal.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
ac4e44b407 Rename: src/ia64/Gget_save_loc-ia64.c -> src/ia64/Gget_save_loc.c
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
570517a1c9 Rename: src/ia64/Gget_save_loc-ia64.c -> src/ia64/Gget_save_loc.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00