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

2143 commits

Author SHA1 Message Date
David Mosberger-Tang
3550b501b1 Update mailing-list info. 2007-11-14 16:47:28 -07:00
David Mosberger-Tang
3899ab7039 Update NEWS file and rerun "autoreconf". 2007-11-14 13:04:15 -07:00
Curt Wohlgemuth
7fda769769 ia64 [src/ia64/Ginit.c]: Don't mark the reference to _Uelf64_get_proc_name
as "weak".  Since the elf-support is in the library anyhow, this serves
     no purpose and in fact causes problem because the weak reference alone
     is not enough to pull in the ELF-code from an archive file, causing to
     spurious failures of get_proc_name.
2007-11-14 12:59:10 -07:00
David Mosberger-Tang
899ffbaa39 Update NEWS file. 2007-06-06 20:58:25 -06:00
Andreas Schwab
09c8c7d0f3 (unw_create_addr_space): Fix address-leak that triggered when function
was called with an unsupported "byte_order".

Signed-off-by: David Mosberger-Tang <dmosberger@gmail.com>
2007-06-06 20:55:36 -06:00
David Mosberger-Tang
bde67706ed Delete some backup files that accidentally made it into git. 2006-07-27 21:30:19 -06:00
David Mosberger-Tang
bd17671300 Delete obsolete BitKeeper files. 2006-07-27 21:26:54 -06:00
David Mosberger-Tang
af2503e223 Fix bug in libunwind-ptrace which can cause reading of random data.
(maps_next): After reading less than a full buffer of data, copy
remaining data to the top of the buffer so as to maintain the
invariant that all data between mi->buf and mi->buf_end is valid.
This avoids maps_next() parsing uninitialized data.
2006-07-25 21:35:30 -06:00
David Mosberger-Tang
cbd8648b33 Make libunwind compile with recent versions of GAS.
Don't test read-only access to F0 and F1 registers --- according to
the SCRA manual, those locations cannot even be expressed in SPILL
descriptors and newer versions of GAS (as well as IAS) won't accept
.spillreg directives targeting those registers.
2006-07-25 21:34:32 -06:00
David Mosberger-Tang
f176ad6fc6 Bring git v0.98.5 tree in sync with released v0.98.5.
Sadly, the conversion from Bitkeeper -> CVS -> git wasn't perfect.  Or
so it seems.
2006-07-25 21:32:28 -06:00
hp.com!davidm
38d99eee0a Update for v0.98.5 release.
(Logical change 1.289)
2005-04-20 21:32:20 +00:00
hp.com!davidm
cf49fe8be4 Regenerate.
(Logical change 1.289)
2005-04-20 21:32:20 +00:00
hp.com!davidm
db7dcaea5b Prepare for v0.98.5 release.
BKrev: 4266ca64K5IAauiPBgcX-B0bF1Ldsg
2005-04-20 21:32:20 +00:00
hp.com!davidm
07af27ee75 (pkg_extra): Change to .5.
(Logical change 1.289)
2005-04-20 21:32:20 +00:00
hp.com!davidm
2f9b0ab27d Fix typo: function returns unw_addr_space_t, not int.
(Logical change 1.288)
2005-04-20 21:02:21 +00:00
hp.com!davidm
7be9f14653 Fix typo in man-page for unw_create_addr_space().
BKrev: 4266c35d-aqzL23eo1PCA0eMWAfc5A
2005-04-20 21:02:21 +00:00
hp.com!davidm
4479427266 ia64: Fix off-by-one bug reported by Todd L Miller.
The rationale for this fix is as follows: for the ALIAS directive, RLEN
specifies the number if instructions for which the region behaves like
the aliased code.  For example, if RLEN=1 then the code follows the
aliased region for 1 instruction and the valid WHEN values should be 0
and 1.  However, with the unpatched code, we would have allowed for -1
and 0, which is wrong.

BKrev: 4266c3228pjJqd72q34L-r8z1RXTaA
2005-04-20 21:01:22 +00:00
hp.com!davidm
8efd6d24da (desc_alias): Fix off-by-one bug.
(Logical change 1.287)
2005-04-20 21:01:22 +00:00
hp.com!davidm
5302bf4828 (libunwind-ptrace): Fix a bug which could cause crashes due to
extraneous calls to munmap.

BKrev: 424c6923ezxqsM6TnnzUyUDFZv0-cA
2005-03-31 21:18:27 +00:00
hp.com!davidm
ea7155ebfd (get_list_addr): Clear ui->ei.image/ui->ei.size after unmapping the
image.

(Logical change 1.286)
2005-03-31 21:18:27 +00:00
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