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

2047 commits

Author SHA1 Message Date
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
mostang.com!davidm
8241bb15a8 (struct table_entry): Move declrataion outside of !UNW_REMOTE_ONLY
bracket so the file compiles for UNW_REMOTE_ONLY, too.

(Logical change 1.224)
2004-05-05 01:54:53 +00:00
mostang.com!davidm
8fd300ae66 (fetch_proc_info): Call tdep_find_proc_info() instead of
dwarf_find_proc_info() so that the remote-case works, too.

(Logical change 1.224)
2004-05-05 01:54:53 +00:00
mostang.com!davidm
f2b40607fd Update sections on HP-UX.
(Logical change 1.223)
2004-05-04 22:24:50 +00:00
mostang.com!davidm
bd193e0509 Regenerate.
(Logical change 1.223)
2004-05-04 22:24:50 +00:00
mostang.com!davidm
3655b20748 Minor build & distribution fixes.
Update HP-UX-portion of READAME.

BKrev: 40981832BM-GQPpS-xkPILQFlEirMQ
2004-05-04 22:24:50 +00:00
mostang.com!davidm
2cc4674137 Add forgotten copyright notice.
(Logical change 1.223)
2004-05-04 22:24:50 +00:00
mostang.com!davidm
4de259b49f (EXTRA_DIST): Mention run-ptrade-mapper.
(test_static_link_LDFLAGS): Replace -all-static with -static.
	The former doesn't work on HP-UX because libc doesn't appear
	to be availabale in archive format (only libc.so is available).
(forker_LDFLAGS): Likewise.

(Logical change 1.223)
2004-05-04 22:24:50 +00:00
mostang.com!davidm
21aaab5fdd ia64: Enable "make check" for HP-UX.
BKrev: 409816e6EMjNyLoXqbrdWeBt3GZsuA
2004-05-04 22:19:18 +00:00
mostang.com!davidm
dfdbabd3fe When generating L-files in the tests/ subdirectory, compile the file
even when UNW_LOCAL_ONLY is not defined anymore after including
<libunwind.h>.

(Logical change 1.222)
2004-05-04 22:19:18 +00:00
mostang.com!davidm
823c634376 Regenerate.
(Logical change 1.222)
2004-05-04 22:19:18 +00:00
mostang.com!davidm
ba424722db (main): If HAVE_TTRACE is defined, fail unconditionally.
(Logical change 1.222)
2004-05-04 22:19:18 +00:00
mostang.com!davidm
6cc7f0a9a8 ia64: Move "rse.h" from src/ia64 to include/ia64 where test-programs
can get to it.  Add HP-UX support to Gia64-test-nat.c.

BKrev: 40981659lkdXA0yXyu-SQvBA_c6hPg
2004-05-04 22:16:57 +00:00
mostang.com!davidm
52c2da7b5e Rename: src/ia64/rse.h -> include/ia64/rse.h
}(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
aa00843a30 Rename: src/ia64/rse.h -> include/ia64/rse.h
(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
0ef8414cd9 Regenerate.
(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
2768b34dbe Initial revision 2004-05-04 22:16:57 +00:00
mostang.com!davidm
6fbd639ea8 Include "ia64/rse.h" instead of <asm/rse.h>. The latter is
Linux-specific.
Include <sys/uc_access.h> if available.
(NELEMS): Delete (already defined in internal.h).
(all_funcs): Remove left-over #if 1 directives.
(sighandler): Add HP-UX support.
(enable_sighandler): Replace SA_NOMASK with SA_NODEFER.  The former
	is not available on HP-UX.
(disable_sighandler): Likewise.

(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
8045a438de Include "ia64/rse.h" instead of "rse.h".
(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
513e7159bd Drop unnecessary include of "rse.h" (already included via unwind_i.h).
(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
c47cf6a310 (libunwind_la_SOURCES_ia64_common): Remove ia64/rse.h.
(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
4a33190ccb (EXTRA_DIST): Mention incluide/ia64/rse.h.
(Logical change 1.221)
2004-05-04 22:16:57 +00:00
mostang.com!davidm
1b54b9edbe ia64: Make HP-UX work better again by using getcontext() instead of
_Uia64_getcontext().

BKrev: 4097f98apnrKvqaLGtwlb3SGHwc5YQ
2004-05-04 20:14:02 +00:00
mostang.com!davidm
ad6f2319b9 (unw_tdep_getcontext): On HP-UX, use getcontext() instead of
_Uia64_getcontext().

(Logical change 1.220)
2004-05-04 20:14:02 +00:00