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

1348 commits

Author SHA1 Message Date
mostang.com!davidm
1d8cf5b787 Define API functions such that it is possible to take their address.
Remove argument names from prototypes to reduce namespace pollution.

x86: Implement a proper version of unw_is_fpreg().

BKrev: 400dd043lsa5_Cjc1wXdQqXVu71qgQ
2004-01-21 01:05:07 +00:00
mostang.com!davidm
541da9d8a5 Clarify that unw_is_fpreg() may be a macro.
(Logical change 1.156)
2004-01-21 01:05:07 +00:00
mostang.com!davidm
c44549f66b Clarify that unw_getcontext() may be a macro.
(Logical change 1.156)
2004-01-21 01:05:07 +00:00
mostang.com!davidm
24ac6e693d (unw_tdep_is_fpreg): Define it as an external function (a macro would
have to evaluate the argument multiple times so it's better
	to implement it out-of-line).

(Logical change 1.156)
2004-01-21 01:05:07 +00:00
mostang.com!davidm
4dedcd7c53 (libunwind_la_SOURCES_x86_common): Mention is_fpreg-x86.c.
(Logical change 1.156)
2004-01-21 01:05:07 +00:00
mostang.com!davidm
66e78e1ca3 (Logical change 1.156) 2004-01-21 01:05:07 +00:00
mostang.com!davidm
064bd0b0d9 ia64: More cleanups to avoid compiler-warnings/type-punning issues.
BKrev: 400dbea8_6fvjchKUo674SujeYKbOA
2004-01-20 23:50:00 +00:00
mostang.com!davidm
cd7dcba0ed Rename AO_TS_T to AO_TS_t (gets syntax coloring right... ;-).
(Logical change 1.155)
2004-01-20 23:50:00 +00:00
mostang.com!davidm
afd961b7b0 Regenerate.
(Logical change 1.155)
2004-01-20 23:50:00 +00:00
mostang.com!davidm
ac0c1db22b (unwi_find_dynamic_proc_info): Fix cast so we actually get the
desired type.

(Logical change 1.155)
2004-01-20 23:50:00 +00:00
mostang.com!davidm
40fcb9b7e5 (unw_addr_space.cache_generation): Declare as AO_t instead of AO_T
(gets syntax-coloring right ;-).

(Logical change 1.155)
2004-01-20 23:50:00 +00:00
mostang.com!davidm
195eb64285 (struct mempool): Move "reserve" and "num_free" next to
each other to minimize padding.

(Logical change 1.155)
2004-01-20 23:50:00 +00:00
mostang.com!davidm
c62eddaa2f (libunwind_la_SOURCES_ia64_common): Mention debug_level-ia64.c.
(Logical change 1.155)
2004-01-20 23:50:00 +00:00
mostang.com!davidm
82cfd4862f (cmpxchg_ptr): Use a union to do the pointer-casting so that
GCC knows it can't use ANSI-C aliasing rules.

(Logical change 1.155)
2004-01-20 23:50:00 +00:00
mostang.com!davidm
a432debbe2 (Logical change 1.155) 2004-01-20 23:50:00 +00:00
mostang.com!davidm
46a75eaddf Initial revision 2004-01-20 23:50:00 +00:00
mostang.com!davidm
0fa4804fe4 ia64: Fix missing prototypes and clean up name-space issues as much
as possible.

BKrev: 400dba8cProHxFzftweAbEsjMpGUXA
2004-01-20 23:32:28 +00:00
mostang.com!davidm
81beef6941 Include "internal.h" instead of "unwind_i.h" to avoid name-space
pollution when compiling with debugging enabled.  The name-space
pollution came from the fact that functions won't be inlined in this
case and that ended up generating dead code with references to
non-existent functions.

(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
6535a330cf Include "internal.h" and "tdep.h" instead of "unwind_i.h" to avoid
name-space pollution when compiling with debugging enabled.  The
name-space pollution came from the fact that functions won't be
inlined in this case and that ended up generating dead code with
references to non-existent functions.


(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
c1bbbb2a3a (unwi_dyn_validate_cache): Declare.
(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
54ef1c8712 (unw_search_ia64_unwind_table): Rename from tdep_search_unwind_table().
(_Uia64_get_kernel_table): Define only when UNW_LOCAL_ONLY is not
	defined.
(_Uia64_find_dyn_list): Likewise.
(ia64_local_validate_cache): Fix prototype (second argument was
	missing).

(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
2d4098ac19 (unw): Remove debug_level.
(tdep_debug_level): Declare it as a separate variable.  This
	ensures that only one debug-level variable is in use
	at any given time, no matter what combination of
	local-only vs generic and static vs. dynamic libraries
	are in use.
(unw): Document why it's not an UNW_ARCH_OBJ().

(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
74dfbb0769 (tdep_debug_level): Define.
(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
4c61d17686 (ia64_validate_cache): Declare.
(ia64_local_validate_cache): Likewise.

(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
1fd74a4332 (ia64_uc_access_reg): Define only if not UNW_LOCAL_ONLY is defined.
(ia64_uc_access_fpreg): Likewise.

(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
fa1e694c0a (create_state_record_for): Check tdep_debug_level instead of
unw.debug_level.

(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
9099235bd7 (common_init): Pass c->as_arg as second argument to
ia64_validate_cache().

(Logical change 1.154)
2004-01-20 23:32:28 +00:00
mostang.com!davidm
47c32cd07f (_Uia64_search_unwind_table): Make it an UNW_OBJ() instead.
(unw_search_ia64_unwind_table): Declare.

(Logical change 1.154)
2004-01-20 23:32:28 +00:00
hp.com!davidm
0ce0769a98 ia64: Fix caching such that stale data gets flushed automatically
(provided the C library supports it).

BKrev: 400c8995bgbB4UdHQQKyoPeUKxcc7g
2004-01-20 01:51:17 +00:00
hp.com!davidm
a7aaf01e8a Update.
(Logical change 1.153)
2004-01-20 01:51:17 +00:00
hp.com!davidm
63390c2267 Cleanup file to make it easier to read.
(Logical change 1.153)
2004-01-20 01:51:17 +00:00
hp.com!davidm
20a192c216 (unwi_dyn_remote_find_proc_info): Drop GENP argument.
(unwi_dyn_validate_cache): New function.

(Logical change 1.153)
2004-01-20 01:51:17 +00:00
hp.com!davidm
ea78d27d97 (unwi_dyn_remote_find_proc_info): Drop GENERATION argument.
(Logical change 1.153)
2004-01-20 01:51:17 +00:00
hp.com!davidm
0371bad3eb (tdep_search_unwind_table): Initialize segbase to zero to avoid
compiler-warning.
(check_callback): New function.
(validate_cache): Likewise.
(ia64_local_validate_cache): Likewise.

(Logical change 1.153)
2004-01-20 01:51:17 +00:00
hp.com!davidm
a2301f6f57 (struct unw_addr_space.shared_object_removals) [!UNW_REMOTE_ONLY]: New member.
(Logical change 1.153)
2004-01-20 01:51:17 +00:00
hp.com!davidm
641b12427d (ia64_validate_cache): New function.
(Logical change 1.153)
2004-01-20 01:51:17 +00:00
hp.com!davidm
172b01d775 (common_init): If caching is enabled, validate the cache first.
(Logical change 1.153)
2004-01-20 01:51:17 +00:00
mostang.com!davidm
95589da62c Regenerate.
(Logical change 1.152)
2004-01-14 06:21:52 +00:00
mostang.com!davidm
de5e9ddcf6 Minor Makefile fixes.
BKrev: 4004e000yXlnK3dtA2NOZWMLn3gl3A
2004-01-14 06:21:52 +00:00
mostang.com!davidm
a6b0ccf783 Make lines fit in 80 columns again.
(libunwind_la_SOURCES_x86_common): Fix typo: rename from
	libunwind_la_SOURCES_x86.

(Logical change 1.152)
2004-01-14 06:21:52 +00:00
hp.com!davidm
e703b3d278 Use print_error() instead of fprintf() to stderr.
(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
7583863b9f Split libunwind into three separate libraries:
libunwind		for local unwinding only
	libunwind-$ARCH		for generic unwinding
	libunwind-ptrace	for the _UPT-convenience functions

Also, many small tweaks to reduce the number of dynamic relocs that
are needed by libunwind.so.  For IA-64, we're down to:

	13 REL64/FPTR64 relocations
	27 IPLT relocations
	32 NONE relocations

BKrev: 3ff69e70FKxyD9S7ZHpBSSlxEdJLWQ
2004-01-03 10:50:24 +00:00
hp.com!davidm
23f31e44a7 Rename: src/ia64/global-asm-ia64.S -> src/ia64/dyn_info_list-ia64.S
}(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
8d331ad2ae Rename: src/ia64/global-asm-ia64.S -> src/ia64/dyn_info_list-ia64.S
(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
d28aba1c56 Regenerate.
(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
972a85f7fd Minor reformatting.
(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
1656663941 Major restructuring to allow for separate local-only vs. generic
libunwind.

(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
e0585b4a71 Initial revision 2004-01-03 10:50:24 +00:00
hp.com!davidm
adcb01f57f Don't define UNW_LOCAL_ONLY before including libunwind.h. That was
a bad idea.

(Logical change 1.151)
2004-01-03 10:50:24 +00:00
hp.com!davidm
fe8b77aeaf Declare libunwind-entry-points as PROTECTED to ensure local uses get
resolved within the library itself.

}(Logical change 1.151)
2004-01-03 10:50:24 +00:00