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

2123 commits

Author SHA1 Message Date
hp.com!davidm
affe34c053 Update for v0.98.4 release.
(Logical change 1.285)
2005-02-24 21:36:40 +00:00
hp.com!davidm
b0bc4a6125 Prepare for 0.98.4 release.
BKrev: 421e48e8SGa9ud-v1IlueJX3Hhk7Uw
2005-02-24 21:36:40 +00:00
hp.com!davidm
cc6fea4c89 (pkg_extra): Change to .4.
(Logical change 1.285)
2005-02-24 21:36:40 +00:00
hp.com!davidm
15df8b804c (_ReadSLEB): Fix typo: shift needs to be increment before checking
for loop-exit.  Otherwise, sign-extension may clobber the
	most recently read 7 bits.

(Logical change 1.284)
2005-02-19 06:15:20 +00:00
hp.com!davidm
022a505678 (_ReadSLEB): Fix typo.
BKrev: 4216d978HJl6nJTEtzDgosMVaxzDQQ
2005-02-19 06:15:20 +00:00
hp.com!davidm
0d34dce56a Update for v0.98.2 and v0.98.3 releases.
(Logical change 1.283)
2004-11-16 22:03:04 +00:00
hp.com!davidm
272caabbfa Regenerate.
(Logical change 1.283)
2004-11-16 22:03:04 +00:00
hp.com!davidm
7e57252750 Don't check for libatomic_ops for now. We don't really need it for
x86 and ia64 and checking for it causes a dependency for libunwind
on libatomic_ops.so, which is not what we want.

BKrev: 419a79184TRq3PRIZ_E7yRe9-x4WXQ
2004-11-16 22:03:04 +00:00
hp.com!davidm
9ef9445558 Don't check for atomic_ops library for now.
(Logical change 1.283)
2004-11-16 22:03:04 +00:00
hp.com!davidm
ef6d76ffd5 (pkg_extra): Change to .3.
(Logical change 1.283)
2004-11-16 22:03:04 +00:00
hp.com!davidm
14524c439f Make all references from libunwind-ia64 to libunwind weak such that
it's possible to link against libunwind-ia64.a without needing
libunwind.a.

BKrev: 419a4b4bYWEKA80IEowZKmzBEMLkGA
2004-11-16 18:47:39 +00:00
hp.com!davidm
d15f52662a (local_find_proc_info): When compiling for libunwind-ia64, declare
_U_dyn_info_list_addr as weak and if it remained undefined,
	return -UNW_ENOINFO.

(Logical change 1.282)
2004-11-16 18:47:39 +00:00
hp.com!davidm
4e731a5572 (get_dyn_info_list_addr): When compiling into libunwind-ia64, declare
_U_dyn_info_list_addr as weak and fail if the symbol remained
	undefined.
(get_static_proc_name): Likewise for _Uelf64_get_proc_name().

(Logical change 1.282)
2004-11-16 18:47:39 +00:00
hp.com!davidm
8f3389e9f9 Regenerate.
(Logical change 1.281)
2004-11-05 00:27:40 +00:00
hp.com!davidm
3c12faa059 Fix build of static libunwind.a: turns out libtool doesn't like
full-path archive library names.  Instead, we need to use -lgcc
(and hope that GCC doesn't pick up the dynamically-linked version!).

Longer term, a better solution might be to drop the -nostdlib linker
option and to use --as-needed instead to avoid recursive references
to -lunwind.

BKrev: 418ac8fcBr462ajbr1zenCtVWTgv5Q
2004-11-05 00:27:40 +00:00
hp.com!davidm
5de169a5d8 (LIBCRTS): Use -lgcc instead.
(Logical change 1.281)
2004-11-05 00:27:40 +00:00
hp.com!davidm
0f9f815cf1 Regenerate.
(Logical change 1.280)
2004-11-03 21:50:24 +00:00
hp.com!davidm
a9a9a51681 Change version code to v0.98.2.
With GCC, link libunwind.so against libgcc.a so there are no C
runtime-system dependencies left (such as calls to __divdi3).

BKrev: 418952a0RqjKsE7N_2NLSqJn3pvfFQ
2004-11-03 21:50:24 +00:00
hp.com!davidm
e62c425ed2 (pkg_extra): Set to .2.
(LIBCRTS): For GCC, set it to the libgcc file-name.  Substitute it.

(Logical change 1.280)
2004-11-03 21:50:24 +00:00
hp.com!davidm
27a9067229 (libunwind_la_LIBADD): Append $(LIBCRTS).
(Logical change 1.280)
2004-11-03 21:50:24 +00:00
hp.com!davidm
a6cf25836e Fix _UPT_get_dyn_info_list_addr() so it doesn't fail just because
a /proc/PID/maps file contains a mapping of something other than
a regular file.  Reported and fix proposed by Todd L. Miller.

BKrev: 4189352chQs0340NbHL2qDV4yTL3_A
2004-11-03 19:44:44 +00:00
hp.com!davidm
346b85ec54 (get_list_addr): Don't fail with -UNW_ENOINFO just because something
in /proc/maps isn't mappable.

(Logical change 1.279)
2004-11-03 19:44:44 +00:00
hp.com!davidm
61421373d7 Fix tests/ia64-test-nat-asm.S to use the correct psp-relative offsets.
BKrev: 416fd736cMBhQeCMuwgZqqBRdRXNIQ
2004-10-15 13:57:10 +00:00
hp.com!davidm
82e02ac518 Fix offsets in .*psp directives (subtract 16 to account for the fact that
GNU assembler used to encode this incorrectly).

(Logical change 1.278)
2004-10-15 13:57:10 +00:00
hp.com!davidm
96a82bef08 Make tests/ia64-test-setjmp.c compile with the Intel compiler.
BKrev: 416fd659Chjwwk5zoTDkLkIMnOGFiA
2004-10-15 13:53:29 +00:00
hp.com!davidm
07e9f4df89 Include "config.h" if we have it.
Include <errno.h>.
Include <ia64intrin.h> if we have it.
(get_bsp): New function.
(doit): Use get_bsp() instead of __builtin_ia64_bsp().
(main): Replace %m with %s/strerror(errno).

(Logical change 1.277)
2004-10-15 13:53:29 +00:00
hp.com!davidm
e4d5a22812 Regenerate.
(Logical change 1.276)
2004-10-15 13:48:38 +00:00
hp.com!davidm
beca885a4b (Logical change 1.276) 2004-10-15 13:48:38 +00:00
hp.com!davidm
935d735557 Initial revision 2004-10-15 13:48:38 +00:00
hp.com!davidm
064fea22b1 Add tests/run-ptrace-misc which is designed to catch a GCC bug which causes
bad unwind info (all but the first sp-restorers fail to get marked with a
".restore sp" directive; see GCC bugzilla report #18010).

BKrev: 416fd5365xn1-FZs2rUwq7kv7MNyGQ
2004-10-15 13:48:38 +00:00
hp.com!davidm
9d47ce5331 (f): Move it to ident.c so the optimizer can't get rid of it.
(Logical change 1.276)
2004-10-15 13:48:38 +00:00
hp.com!davidm
b0048ee762 (do_backtrace): Keep track of initial IP so we can issue better error messages.
(main): Update comment for -t.

(Logical change 1.276)
2004-10-15 13:48:38 +00:00
hp.com!davidm
b4f1459444 (EXTRA_DIST): Mention run-ptrace-misc.
(check_SCRIPTS_cdep): Mention run-ptrace-misc.
(noinst_PROGRAMS_cdep): Mention test-ptrace-misc.
(Gtest_bt_SOURCES): New macro.
(Ltest_bt_SOURCES): Likewise.
(test_ptrace_misc_SOURCES)L: Likewise.

(Logical change 1.276)
2004-10-15 13:48:38 +00:00
hp.com!davidm
76176df770 Update to reflect latest bug-fixes & changes.
(Logical change 1.275)
2004-10-15 13:37:27 +00:00
hp.com!davidm
75b6719352 Update to reflect currently reality.
(Logical change 1.275)
2004-10-15 13:37:27 +00:00
hp.com!davidm
07e4c82af8 Update NEWS & README to reflect current reality.
BKrev: 416fd297x-EpX1YIsrtHWJ7INlcK7A
2004-10-15 13:37:27 +00:00
homeip.net!davidm
8a2fe0901b Update NEWS file for v0.98.1.
(Logical change 1.274)
2004-10-13 14:14:10 +00:00
homeip.net!davidm
fd169cc680 Regenerate.
(Logical change 1.274)
2004-10-13 14:14:10 +00:00
homeip.net!davidm
788a016723 Merge bk://unwind@bkbits.net/libunwind
into mosberger.homeip.net:/home/davidm/src/unwind/libunwind

2004/10/07 11:35:11+02:00 homeip.net!davidm
Get ready for interim v0.98.1 release to fix a stupid install bug.

BKrev: 416d3832q_diEmR8aBNgsLs_4McpCA
2004-10-13 14:14:10 +00:00
homeip.net!davidm
3ad05c8a1d Change pkg_extra to .1.
(Logical change 1.274)
2004-10-13 14:14:10 +00:00
hp.com!davidm
e8518b85c5 Ignore NULL stack-frames---they can't possibly be the correct target of
a longjmp() because the caller of setjmp() must have a non-NULL frame.

(Logical change 1.273)
2004-10-13 14:14:09 +00:00
hp.com!davidm
7c9534a37e Fix {sig,}longjmp() so it works on SLES9 which failed because to
kill() caused a NULL-frame which was incorrectly identified as the
target of the longjmp().

BKrev: 416d38310dca_S_DoJqvMNvQnm6wwA
2004-10-13 14:14:09 +00:00
hp.com!davidm
cf96145116 ia64: Fix ia64 sigsetjmp() so ia64-test-setjmp also succeeds on SLES 9.
BKrev: 416d36c2LlOSPR6SVavY72kaKjCICA
2004-10-13 14:08:02 +00:00
hp.com!davidm
22ac4c078f (__sigsetjmp): Start updating jmp_buf only after sigprocmask() returned
successfully.  This avoids a failure in ia64-test-setjmp which
	was due to the fact that sigprocmask() caused a segfault (due to
	overflowing the stack) and at that point we had a partially updated
	jmp_buf.

(Logical change 1.272)
2004-10-13 14:08:02 +00:00
homeip.net!davidm
b62e5e37b3 Regenerate.
(Logical change 1.271)
2004-10-05 16:28:06 +00:00
homeip.net!davidm
b54d9216d6 Fix bug which caused libunwind-common.h.in instead of libunwind-common.h
to be installed.  Reported by Johan Walles.

BKrev: 4162cb96x9C4SwdWiMYyOt479O5jlg
2004-10-05 16:28:06 +00:00
homeip.net!davidm
ebf7fdb2f3 (include_HEADERS_common): Remove include/libunwind-common.h.in.
(nodist_include_HEADERS): Mention include/libunwind-common.h.
(EXTRA_DIST): Mention include/libunwind-common.h.in.

(Logical change 1.271)
2004-10-05 16:28:06 +00:00
hp.com!davidm
7bd9b32b1d Regenerate.
(Logical change 1.270)
2004-09-15 11:37:04 +00:00
hp.com!davidm
4e5aa1e556 Merge bk://unwind@bkbits.net/libunwind
into wailua.hpl.hp.com:/home/davidm/src/unwind/libunwind

2004/09/15 04:36:38-07:00 hp.com!davidm
Make bt into an automatic test-case (Gtest-bt & Ltest-bt) and enhance it in
an attempt to trigger a bug reported by Anthony Brewer were GAS apparently
is generating bad psp-relative offsets on ia64.

BKrev: 41482960zyAq_BCQHMor5ERtz8crIQ
2004-09-15 11:37:04 +00:00
hp.com!davidm
23d9a14c4d (verbose): New variable.
(num_errors): Likewise.
(do_backtrace): Only print info if verbose is set.
(foo): Likewise.
(sighandler): Likewise.
(main): Likewise.
(bar): New function which is attempting to trigger a bug reported by
	Anthony Brewer which is caused by GAS apparently generating bad
	offsets for the psprel directive.
(f): New function.

}(Logical change 1.270)
2004-09-15 11:37:04 +00:00