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

1293 commits

Author SHA1 Message Date
hp.com!davidm
9b47e7723f (unw_get_accessors): Let ia64_init() clear unw.needs_initialization.
(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
8e71bb0ab2 (unw): Initialize "lock" member. Switch to ANSI99-style initializers.
(ia64_init): Use unw.lock to protect against races during
	initialization.  Disable signal delivery during initialization
	to ensure thread-safety (e.g., unw_init_local() may call
	ia64_init() and the former must be thread-safe).

(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
3cc1ec6be9 (struct ia64_global_unwind_state): Add "lock" member.
(Logical change 1.111)
2003-11-19 03:11:25 +00:00
hp.com!davidm
6b6a0079e6 Update copyright year.
Minor formatting changes.

(Logical change 1.110)
2003-11-18 21:47:51 +00:00
hp.com!davidm
c55348de6e Update copyright year.
(Logical change 1.110)
2003-11-18 21:47:51 +00:00
hp.com!davidm
6f4a4e03e3 Minor formatting changes/copyright year updates.
BKrev: 3fba93872R3ryaeRdve3QczhiBo0Pw
2003-11-18 21:47:51 +00:00
hp.com!hans_boehm
b85b2fb28f [PATCH] x86: fix unw_is_signal_frame() and unwinding across signal handlers
This patch fixes two problems: first, it makes unwinding across signal
handlers work on x86 and second it fixes unw_is_signal_frame() to work
properly when SA_SIGINFO is in effect.

BKrev: 3fba8f44PQxoVufTH31_1dmqQUZwSw
2003-11-18 21:29:40 +00:00
com[davidm]!hans_boehm
434b9ffcfe x86: fix unw_is_signal_frame() and unwinding across signal handlers
(Logical change 1.109)
2003-11-18 21:29:40 +00:00
com[davidm]!hans_boehm
864270533f Initial revision 2003-11-18 21:29:40 +00:00
hp.com!davidm
6ebda139fe Fix personality-routine lookup.
Fix segment-base calculation so it works for the Linux kernel DSO,
too.

BKrev: 3fb5f5e9Is6d_GnSjqzKQB4dkPZYjg
2003-11-15 09:46:17 +00:00
hp.com!davidm
e70d39ae8e (create_state_record_for): Drop extraneous clearing of
sr->return_link_reg.  The entire structure is getting
	cleared via memset() already!

(Logical change 1.108)
2003-11-15 09:46:17 +00:00
hp.com!davidm
656e9d6e7d (_Uia64_search_unwind_table): Correct off-by-8 error in calculating
personality-routine and LSDA address and dont' forget to
	dereference the personality-routine function-pointer, so we
	really get the address of the function-descriptor of the
	personality routine.
(callback): Set the segment-base based on the segment that contains
	the unwind-table.  Normally, that the text segment but in
	special cases, such as the kernel's gate DSO, it will be
	in a different segment.

(Logical change 1.108)
2003-11-15 09:46:17 +00:00
hp.com!davidm
5c9fea2476 Handle floating-point registers in unw_get_save_loc(). Reported by Rob
Faught.

BKrev: 3f8757a9sGMYbSXmjG4s8EyapZNMmw
2003-10-11 01:06:49 +00:00
hp.com!davidm
233952e855 (unw_get_save_loc): Handle floating-point registers as well.
(Logical change 1.107)
2003-10-11 01:06:49 +00:00
hp.com!davidm
4dfe79aef0 Fix HP-UX byte-order. Reported by Rob Faught.
BKrev: 3f87574e0SSJft768ryiIDwJP3NjBg
2003-10-11 01:05:18 +00:00
hp.com!davidm
039accfd88 (__BYTE_ORDER): Fix HP-UX byte-order to be __BIG_ENDIAN, as it was meant
to be.

(Logical change 1.106)
2003-10-11 01:05:18 +00:00
hp.com!davidm
b41d75048f Fix double-negation in unw_get_save_loc(). Reported by Rob Faught.
BKrev: 3f8755d6q9mbCMOMPX0wFRWDQXJB0g
2003-10-11 00:59:02 +00:00
hp.com!davidm
bcbdc591be (unw_get_save_loc): Fix double negation.
(Logical change 1.105)
2003-10-11 00:59:02 +00:00
hp.com!davidm
9bd061eddb Regenerate.
(Logical change 1.104)
2003-09-25 05:29:14 +00:00
hp.com!davidm
587bba5c1f Print normal output only if "verbose" mode is requested.
(Logical change 1.104)
2003-09-25 05:29:14 +00:00
hp.com!davidm
27c3d57b90 Minor cleanups/fixups to get things to compile without warnings/errors
on ia64 and x86.

BKrev: 3f727d2ay6N9d_DGyb9rzU7iBNzZFg
2003-09-25 05:29:14 +00:00
hp.com!davidm
8aff3354e2 Mention x86/set_caching_policy-x86.c.
(Logical change 1.104)
2003-09-25 05:29:14 +00:00
hp.com!davidm
b3c9ffcf39 Initial revision 2003-09-25 05:29:14 +00:00
hp.com!davidm
d7d831e9bb Fix x86 b
(Logical change 1.104)
2003-09-25 05:29:14 +00:00
hp.com!davidm
197801e353 AC_CHECK_HEADERS: Mention signal.h.
(CPPFLAGS): Move before AC_CHECK_TYPES(), so those later checks
	run with -D_GNU_SOURCE.
(AC_CHECK_TYPES): Fix the check for sighandler_t.

(Logical change 1.104)
2003-09-25 05:29:14 +00:00
hp.com!davidm
87e2dfb9af (unw_regname): Fix signed/unsigned comparison.
(Logical change 1.104)
2003-09-25 05:29:14 +00:00
hp.com!davidm
522e2ccbe0 (sos_alloc): Do type-punning through a union to be ANSI-9x compliant
and avoid a warning from gcc.

(Logical change 1.104)
2003-09-25 05:29:14 +00:00
hp.com!davidm
29f2f89a8f (measure_unwind): Return 0.
(Logical change 1.104)
2003-09-25 05:29:14 +00:00
hp.com!davidm
71650257d7 (lookup_symbol): Cast arguments to debug printf() so they compile
without warning on both 32- and 64-bit platforms.

(Logical change 1.104)
2003-09-25 05:29:14 +00:00
hp.com!davidm
a237717fd7 (check_PROGRAMS_cdep): Move Gtest-init, Ltest-init, and
test-flush-cache to here from check_PROGRAMS_common.
	They cannot be compiled/used for REMOTE_ONLY configurations.

(Logical change 1.104)
2003-09-25 05:29:14 +00:00
hp.com!davidm
2f3b37da51 (_UPT_access_reg): Cast arguments to debug printf so they compile
without warning on both 32- and 64-bit platforms.

(Logical change 1.104)
2003-09-25 05:29:14 +00:00
hp.com!davidm
a99bac423b (_UPT_access_mem): Cast arguments to debug printf so that it
compiles without worning both on 64-bit and 32-bit platforms.

(Logical change 1.104)
2003-09-25 05:29:14 +00:00
hp.com!davidm
e4be4f9dc5 (Logical change 1.104) 2003-09-25 05:29:14 +00:00
hp.com!davidm
368c9eeadc Fix sigsetjmp() for Linux kernels with the stream-lined syscall
entry/exit path.  Without this fix, unw_resume() failed to restore
most scratch register and caused test-setjmp to fail.

BKrev: 3f7278420gm7LAAf21d-L_Iuu7Zu_g
2003-09-25 05:08:18 +00:00
hp.com!davidm
1c5c60b8ad Add some more debug statements and fix some typos.
(Logical change 1.103)
2003-09-25 05:08:18 +00:00
hp.com!davidm
350ae98340 (local_resume): Clear IA64_SC_FLAG_IN_SYSCALL before resuming via
sigreturn().  This is needed to ensure that all scratch-regs
	get restored.  Also add some more debug statements.

(Logical change 1.103)
2003-09-25 05:08:18 +00:00
hp.com!davidm
d09c9dcec9 Fix a performance regression in ia64_find_save_locs() which was
caused by the recent bug fix for the problem where a get_proc_info()
failure would cause a script to be created but not fully initialized.

BKrev: 3f72131a0z5c6mgTJsyoxCkNwHfgAA
2003-09-24 21:56:42 +00:00
hp.com!davidm
048d4239ae Collect 20 samples per run.
(Logical change 1.102)
2003-09-24 21:56:42 +00:00
hp.com!davidm
d0fddf5de8 (ia64_find_save_locs): Only call ia64_fetch_proc_info() when we really
have to (i.e., if we don't have cached info).  Otherwise,
	the unnecessary calls cause a performance regression.

(Logical change 1.102)
2003-09-24 21:56:42 +00:00
hp.com!davidm
01b02dde89 Regenerate.
(Logical change 1.101)
2003-09-24 21:51:53 +00:00
hp.com!davidm
285a4f5a90 Document the __tls_get_addr unresolved reference problem and its
workaround (--disable-__thread).

BKrev: 3f7211f9WH9Qcnnwvbg7XZrxUqTbSg
2003-09-24 21:51:53 +00:00
hp.com!davidm
3f9c0bcda6 Document the __tls_get_addr problem and its workaround
(--disable-__thread).

(Logical change 1.101)
2003-09-24 21:51:53 +00:00
hp.com!davidm
d75c356fc8 (LIBUNWIND___THREAD): Check $enable___thread instead of $use__thread.
(Logical change 1.101)
2003-09-24 21:51:53 +00:00
hp.com!davidm
1be40c4ff6 Regenerate.
(Logical change 1.100)
2003-09-24 20:05:17 +00:00
hp.com!davidm
8c1998a4e4 Regenerate tests/Makefile.in.
BKrev: 3f71f8fdprmJOkq4wWI63wf71SysnQ
2003-09-24 20:05:17 +00:00
mostang.com!davidm
dce915e1f6 Update.
(Logical change 1.99)
2003-09-24 05:03:10 +00:00
mostang.com!davidm
e15cb5ce54 Regenerate L files in tests/.
BKrev: 3f71258e3bOkW6VVLUiTwGUCKVlE8A
2003-09-24 05:03:10 +00:00
mostang.com!davidm
12876ef781 (Logical change 1.98) 2003-09-24 05:02:14 +00:00
mostang.com!davidm
ee803e7acc Initial revision 2003-09-24 05:02:14 +00:00
mostang.com!davidm
dc8e7b65af Add {G,L}perf-simple.c --- a simple performance tester.
BKrev: 3f712556eIGh9pZTC_I1mItZQYqbaw
2003-09-24 05:02:14 +00:00