1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-06 01:34:29 +01:00
Commit graph

2170 commits

Author SHA1 Message Date
hp.com!davidm
7886a0d946 (create_func): Change %Zu to %zu.
(Logical change 1.236)
2004-05-12 20:54:56 +00:00
hp.com!davidm
29cf97a0d0 Merge bk://unwind@bkbits.net/libunwind
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2004/05/06 15:58:15-07:00 hp.com!davidm
ia64: Fix some cross-build issues.

BKrev: 409ad8bfCC8WpY2fO24_0-uUw0Cz2w
2004-05-07 00:30:55 +00:00
hp.com!davidm
e9e2c8cc5f Auto merged
2004/05/06 15:58:14-07:00 hp.com!davidm
ia64: For remote-only-case, don't expect to find _Uia64_get_elf_image9) or
	_Uia64_get_kernel_table().

(Logical change 1.235)
2004-05-07 00:30:55 +00:00
hp.com!davidm
42ad02a78e Auto merged
2004/05/06 15:58:14-07:00 hp.com!davidm
(_Uia64_find_dyn_list): Don't exclude for UNW_REMOTE_ONLY.
	Reformat #ifdef's a bit for improved readability.

(Logical change 1.235)
2004-05-07 00:30:55 +00:00
hp.com!davidm
72a03113c8 ia64: For remote-only-case, don't expect to find _Uia64_get_elf_image9) or
_Uia64_get_kernel_table().

(Logical change 1.234)
2004-05-07 00:30:27 +00:00
hp.com!davidm
13c1735173 ia64: Fix some cross-build issues.
BKrev: 409ad8a3dp4h4fZsFPhVfdvKGUFioA
2004-05-07 00:30:27 +00:00
hp.com!davidm
2376f6e6bc (_Uia64_find_dyn_list): Don't exclude for UNW_REMOTE_ONLY.
Reformat #ifdef's a bit for improved readability.

(Logical change 1.234)
2004-05-07 00:30:27 +00:00
hp.com!davidm
364a112ddd x86: Various minor distribution & build fixes.
BKrev: 409ab5d87ii6FrgZ9g4rsxehvuv9fg
2004-05-06 22:02:00 +00:00
hp.com!davidm
759275ac87 Regenerate.
(Logical change 1.233)
2004-05-06 22:02:00 +00:00
hp.com!davidm
30649af75a Pass arguments along to check-namespace.sh.
(Logical change 1.233)
2004-05-06 22:02:00 +00:00
hp.com!davidm
d7f8bd62d4 Add x86-specific checks.
(Logical change 1.233)
2004-05-06 22:02:00 +00:00
hp.com!davidm
5ccc669fa7 (tdep_uc_addr): Declare as HIDDEN. Initialize find_proc_info with
dwarf_find_proc_info, not tdep_find_proc_info.

(Logical change 1.233)
2004-05-06 22:02:00 +00:00
hp.com!davidm
051da9c0b6 (libunwind_la_SOURCES_local): Mention libunwind_la_SOURCES_os_local.
(libunwind_la_SOURCES_os_linux_local): New macro.
(libunwind_la_SOURCES_os_local): New macro.
(EXTRA_DIST): Mention libunwind_{hppa,ia64,x86}_la_SOURCES_{hppa,ia64,x86}.

(Logical change 1.233)
2004-05-06 22:02:00 +00:00
hp.com!davidm
14a264e044 (get_list_addr): Add an empty implementation of unsupported platforms.
(Logical change 1.233)
2004-05-06 22:02:00 +00:00
hp.com!davidm
55ea19fa91 (EXTRA_DIST): Mention dwarf_i.h and x86/dwarf-config.h.
(Logical change 1.233)
2004-05-06 22:02:00 +00:00
hp.com!davidm
f4b739b33c Fix two test-cases.
BKrev: 409aaa01f61zJivcmSNCYhfxSRPOiQ
2004-05-06 21:11:29 +00:00
hp.com!davidm
683c9b4117 (main): Remove unused variable "i".
(Logical change 1.232)
2004-05-06 21:11:29 +00:00
hp.com!davidm
9fb355e096 (depth): New global variable.
(raise_exception): Make non-static, unwind "depth - 1" steps to get to
	top-most a() frame.
(__builtin_ia64_bsp): Also define for Intel-compiler.
(a): Restructure so it works in the face of global optimization and also
	remove GCC dependencies.
(main): Initialize depth based on argv[1].

(Logical change 1.232)
2004-05-06 21:11:29 +00:00
hp.com!davidm
4280d5c860 ia64: Add {G,L}ia64-test-readonly to verify that read-only registers are
handled correctly.

BKrev: 409a9f75q6aicP3iE1AdjNjFis70Yw
2004-05-06 20:26:29 +00:00
hp.com!davidm
d5c1bfe772 Regenerate.
(Logical change 1.231)
2004-05-06 20:26:29 +00:00
hp.com!davidm
de2a42042e (Logical change 1.231) 2004-05-06 20:26:29 +00:00
hp.com!davidm
9427f8eae4 Initial revision 2004-05-06 20:26:29 +00:00
hp.com!davidm
86bef150e4 (check_PROGRAMS_cdep): Mention Gia64-test-readonly and Lia64-test-readonly.
(Lia64_test_readonly_SOURCES): New macro.
(Gia64_test_readonly_SOURCES): Likewise.

(Logical change 1.231)
2004-05-06 20:26:29 +00:00
hp.com!davidm
7c067cc6e5 ia64: Fix typo which caused f0 and f1 to be mishandled.
BKrev: 409a9f25FiUffqi9g5Hpq_3NT2I7cw
2004-05-06 20:25:09 +00:00
hp.com!davidm
32dd2e2218 (compile_reg): Fix typo: treat f0 and f1 like scratch registers.
(Logical change 1.230)
2004-05-06 20:25:09 +00:00
hp.com!davidm
5db79b888d ia64: Reject write-accesses to read-only save-locations (such as the ones
used for r0, f0, and f1).

BKrev: 409a9ee15H11A3zO-XAg3vnbs1j7yw
2004-05-06 20:24:01 +00:00
hp.com!davidm
b3381c8887 Adjust for r0, f0, f1_le, and f1_be having moved into "read_only" member.
(Logical change 1.229)
2004-05-06 20:24:01 +00:00
hp.com!davidm
4dca00338a (tdep_init): Adjust for r0, f0, f1_le, and f1_be having moved into
"read_only" member.

(Logical change 1.229)
2004-05-06 20:24:01 +00:00
hp.com!davidm
6a269233f8 (struct ia64_global_unwind_state): Group together in a single struct the
read-only registers whose addresses may be used as save-locations.

(Logical change 1.229)
2004-05-06 20:24:01 +00:00
hp.com!davidm
ed18defb26 (inlined_uc_addr): Also handle f0 and f1.
(ia64_read_only_reg): New function.
(ia64_putfp): Reject puts into read-only save-locations.
(ia64_put): Likewise.

(Logical change 1.229)
2004-05-06 20:24:01 +00:00
hp.com!davidm
b8d777bc65 (access_reg): Do not reject accesses to floating-point registers. On
little-endian machines, this automagically does the right thing
	and on HP-UX (big-endian) we never use this routine.
	Reject write-accesses to read-only save-locations (such as
	unw.read_only.r0).
(access_fpreg): Reject write-accesses to read-only save-locations.

(Logical change 1.229)
2004-05-06 20:24:01 +00:00
mostang.com!davidm
ec634b320c ia64: Consistently uses IA64_IS_NULL_LOC() to check for accesses
to unsaved registers.

BKrev: 4099b513AtYb85kcjfICyjQT0nZ5VQ
2004-05-06 03:46:27 +00:00
mostang.com!davidm
1b4583400a (ia64_getfp): Use IA64_IS_NULL_LOC() instead of nothing or
pen-coded NULL-test.
(ia64_putfp): Likewise.
(ia64_get): Likewise.
(ia64_put): Likewise.

(Logical change 1.228)
2004-05-06 03:46:27 +00:00
mostang.com!davidm
80c84ea91f ia64: Still more HP-UX cleanups/fixes.
BKrev: 40987598xCnZpza9cq68aqmBaimmTw
2004-05-05 05:03:20 +00:00
mostang.com!davidm
7b989938b7 Regenerate.
(Logical change 1.227)
2004-05-05 05:03:20 +00:00
mostang.com!davidm
c0f7c6f78a (libunwind_la_SOURCES_ia64_os): New macro defined only if OS_LINUX.
(libunwind_la_SOURCES_ia64): Move _ReadULEB.c/_ReadSLEB.c to above
	macro.

(Logical change 1.227)
2004-05-05 05:03:20 +00:00
mostang.com!davidm
74b22fed4c (check_generic_unw_abi): Check for _U${plat}_get_kernel_table() on
linux only.

(Logical change 1.227)
2004-05-05 05:03:20 +00:00
mostang.com!davidm
0c8baa7a79 (EXTRA_DIST): Also mention run-check-namespace.
(Logical change 1.227)
2004-05-05 05:03:20 +00:00
mostang.com!davidm
defb88936c ia64: Fix build-warning.
BKrev: 40984a88k5MRrEoz8Sr2WNlBj9CWuQ
2004-05-05 01:59:36 +00:00
mostang.com!davidm
2d2129a5bc (sighandler): Adjust for <asm/rse.h> -> <ia64/rse.h> changes.
(Logical change 1.226)
2004-05-05 01:59:36 +00:00
mostang.com!davidm
f1c025e957 Regenerate.e
(Logical change 1.225)
2004-05-05 01:58:44 +00:00
mostang.com!davidm
542e026ae4 Regenerate.
(Logical change 1.225)
2004-05-05 01:58:44 +00:00
mostang.com!davidm
3640bb40a2 (Logical change 1.225) 2004-05-05 01:58:44 +00:00
mostang.com!davidm
3db9cf3812 Initial revision 2004-05-05 01:58:44 +00:00
mostang.com!davidm
023e73b466 Add a script to check name-space correctness.
BKrev: 40984a54-u0zsdWHIpf-Yx-bjnRrxw
2004-05-05 01:58:44 +00:00
mostang.com!davidm
cc090ec048 (build_arch): Substitute it.
(target_os): Likewise.
(AC_CONFIG_FILES): Mention tests/check-namespace.sh.


(Logical change 1.225)
2004-05-05 01:58:44 +00:00
mostang.com!davidm
5a468e30cc (EXTRA_DIST): Mention check-namespace.sh.in.
(check_SCRIPTS_common): Mention run-check-namespace.

(Logical change 1.225)
2004-05-05 01:58:44 +00:00
mostang.com!davidm
88b9c7576c x86: Make tests/test_proc_info work again. Fix it so it compiles
for UNW_REMOTE_ONLY as well.

BKrev: 4098496dcVoLUoK_6Jmtra1DHkIKXQ
2004-05-05 01:54:53 +00:00
mostang.com!davidm
09ba7e9440 (unw_step): If dwarf_step() returns -UNW_ESTOPUNWIND, take that
as a hard signal that we should stop unwinding.  This
	fixes tests/test_proc_info.

(Logical change 1.224)
2004-05-05 01:54:53 +00:00
mostang.com!davidm
582cfb1e62 (tdep_find_proc_info): Expand into dwarf_find_proc_info() only
when UNW_LOCAL_ONLY is defined.  Otherwise, expand
	into call via address-space's find_proc_info() callback.
(tdep_put_unwind_info): Likewise.  Delete bogus prototype.

(Logical change 1.224)
2004-05-05 01:54:53 +00:00