1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-18 13:57:38 +01:00
Commit graph

1359 commits

Author SHA1 Message Date
mostang.com!davidm
b5e1ca5a53 Initial revision 2003-03-28 07:43:22 +00:00
mostang.com!davidm
c2e6b4ced0 Also handle C++ files (.cxx).
(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
294a1e55cc Add copyright header.
(Test_Class): New dummy class so we can define a constructor.
(backtrace): New function.

}(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
337c0ad989 Add C++ wrapper.
(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
5adfead33c (test_sigsetjmp): Declare "i" as a volatile variable so it gets preserved across
sigsetjmp().

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
6bf5cdd335 (main): Set di.end_ip based on the region's insn_count (old value for di.end_ip was
too small when using ECC).

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
5907edf946 (main): Portability fix: cast return value from create_func() to proper function-type.
(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
b838c72f9a (lookup_symbol): Portability fix: avoid arithmetic on void *.
(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
e4f251b98a (local_resume): "static inline" version of what used to be ia64_local_resume().
(ia64_local_resume): Declare as "HIDDEN" (not "HIDDEN inline"), use local_resume().
(unw_resume): For UNW_LOCAL_ONLY case, call local_resume().

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
81f4297d5a (intern_regions): Don't mix signed and unsigned types for 3rd argument to fetch32().
(intern_dyn_info): Ditto.

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
2e65e639a5 (ia64_getfp): Return -UNW_EBADREG when trying to access unsaved register.
(ia64_putfp): Ditto.
(ia64_get): Ditto.
(ia64_put): Ditto.

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
271d7065c2 (cmpchg_ptr): Cast first argument to "volatile long *", since that is what the
Intel compiler wants.

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
9fe5e68f40 (check_PROGRAMS_common): Mention Gtest-init and Ltest-init.
(noinst_PROGRAMS_cdep): Remove test-init.
(Gtest_init_SOURCES): New macro.
(Ltest_init_SOURCES): Ditto.

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
757746aefb (a): When compiling with GCC on ia64, use "asm" statement to get the address of the
label.  gcc-3.x otherwise notices that the label isn't used for control-flow
	and feels free to move it around (usually to the beginning of the basic-block),
	with very bad consequences.

(Logical change 1.70)
2003-03-28 07:43:22 +00:00
mostang.com!davidm
453ec65cf0 (Logical change 1.70) 2003-03-28 07:43:22 +00:00
mostang.com!davidm
5b1f22a309 Regenerate.
(Logical change 1.69)
2003-03-27 04:34:23 +00:00
mostang.com!davidm
342f524038 Regenerate Makefile.in files.
BKrev: 3e827f4f_7VlTe6DlLtwREwyiJYnkw
2003-03-27 04:34:23 +00:00
mostang.com!davidm
28fe6a6e8b Work around ECC v7.0 bug by manually definining __sync_val_compare_and_swap()
if it isn't defined yet.

(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
a55f2acb86 Various minor build-environment fixes and portability fixes for Intel ECC.
BKrev: 3e827e13QXYssAe0XjP5kb_bbW_LOw
2003-03-27 04:29:07 +00:00
mostang.com!davidm
16192f7eac Separate bundle template directive from instruction with a semicolon. The Intel
assembler wants this.

(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
a4e77a211a Regenerate.
(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
f168752fcf (Logical change 1.68) 2003-03-27 04:29:07 +00:00
mostang.com!davidm
58df2a4b8f Initial revision 2003-03-27 04:29:07 +00:00
mostang.com!davidm
b0d98c76e4 If we have it, include <ia64intrin.h>.
(flush_cache): Moved to flush-cache.S.

(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
bf2a805be2 If we have it, include <ia64intrin.h>.
(current_gp): New function.
(callback): Use current_gp() instead of open-coding it.

(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
43d0e03dc6 If we have it, include "config.h".
If we have it, include <ia64intrin.h>
(handler): Add support for ECC.

(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
2a5ff2db57 Fix typo: programss -> programs.
(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
26ad35667c Avoid GNU local labels for improved portability.
(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
6dbafde94b (sigprocmask): Declare as global (Intel assembler insists on this).
(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
4090e38376 (sigprocmask): Declare as "global" (Intel assembler insists on this).
(siglongjmp_continuation): Avoid GNU assembler local labels.

(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
b958b51278 (man3_MANS): Remove $(srcdir)/ prefix as otherwise the man-pages don't get
distributed with "make dist".
(.tex.man): Manually copy .man output file into $(srcdir).

(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
7407caa8c3 (libunwind_la_SOURCES_ia64): Add global-asm-ia64.S.
(libunwind_la_SOURCES_x86): Mention elf32.c, elf32.h, Gresume-x86.c, and
	Lresume-x86.c.

(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
0231ae5a6f (ia64_test_dyn1_SOURCES): Mention flush-cache.S.
(Gtest_dyn1_SOURCES): Ditto.
(Ltest_dyn1_SOURCES): Ditto.

(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
0e2f4866f2 (flush_cache): Move to flush-cache.S.
(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
feaf317bf2 (do_unwind_tests): Declare as global. Intel assembler insists on this.
Avoid GNU assembler local labels.

(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
797322b3b4 (a): If not compiling with GCC, explain that there is no hope of exercising this
test.

(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
753601f8b0 (_U_dyn_info_list): Declare.
Move generation of dyn-list unwind entry into global-asm-ia64.S.

(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
9eafc2ae86 (_UPT_get_dyn_info_list_addr): Downgrade #error to #warning.
(Logical change 1.68)
2003-03-27 04:29:07 +00:00
mostang.com!davidm
2ff3919fe9 Patch by Matthieu Delahaye: Fix remaining Elf64 uses and replace them with ElfW().
BKrev: 3e824977Ykr8CIILHmdyTe47sxhN1A
2003-03-27 00:44:39 +00:00
mostang.com!davidm
4409fc61d8 Patch by Matthieu Delahaye:
(lookup_symbol): Fix typo: Elf64_Shdr -> ElfW (Shdr).
(get_proc_name): Ditto.

(Logical change 1.67)
2003-03-27 00:44:39 +00:00
mostang.com!davidm
1c9ce0d96c Regenerate.
(Logical change 1.66)
2003-03-20 08:16:17 +00:00
mostang.com!davidm
0e0d480cea Regenerate Makefile.in.
BKrev: 3e7978d1xZpXCTJpiIS9EwSszR0Aiw
2003-03-20 08:16:17 +00:00
mostang.com!davidm
b8fcc6c720 Fix typo: .text -> .tex
BKrev: 3e797378fTnv-_G26xLppx0lFUbUpg
2003-03-20 07:53:28 +00:00
mostang.com!davidm
b577543f09 Fix typo: .text -> .tex
(Logical change 1.65)
2003-03-20 07:53:28 +00:00
mostang.com!davidm
09f7ea2cc2 Return -UNW_ENOINFO.
(Logical change 1.64)
2003-03-20 07:51:37 +00:00
mostang.com!davidm
624251b1ad Regenerate.
(Logical change 1.64)
2003-03-20 07:51:37 +00:00
mostang.com!davidm
27a73b1fe8 Initial revision 2003-03-20 07:51:37 +00:00
mostang.com!davidm
a21507ddb3 Correct type of register numbers from "int" to "unw_regnum_t".
Mention unw_is_fpreg().
Add \SeeAlso for newly added man-pages.

(Logical change 1.64)
2003-03-20 07:51:37 +00:00
mostang.com!davidm
87849a5491 Clarify that find_proc_info() may return -UNW_ESTOPUNWIND to terminate frame-chain.
(Logical change 1.64)
2003-03-20 07:51:37 +00:00
mostang.com!davidm
0a4b3db82c Add man-pages for unw_get_fpreg(3), unw_get_reg(3), unw_is_fpreg(3),
unw_is_signal_frame(3), unw_set_fpreg(3), unw_set_reg(3), and
unw_step(3).

BKrev: 3e797309YXXgnMLGjzBXIoYsy0d1PA
2003-03-20 07:51:37 +00:00