1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-16 05:08:12 +01:00

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.
This commit is contained in:
Curt Wohlgemuth 2007-11-14 12:59:10 -07:00 committed by David Mosberger-Tang
parent 899ffbaa39
commit 7fda769769

View file

@ -387,11 +387,6 @@ get_static_proc_name (unw_addr_space_t as, unw_word_t ip,
char *buf, size_t buf_len, unw_word_t *offp, char *buf, size_t buf_len, unw_word_t *offp,
void *arg) void *arg)
{ {
#ifndef _UNW_LOCAL_ONLY
# pragma weak _Uelf64_get_proc_name
if (!_Uelf64_get_proc_name)
return -UNW_EINVAL;
#endif
return _Uelf64_get_proc_name (getpid (), ip, buf, buf_len, offp); return _Uelf64_get_proc_name (getpid (), ip, buf, buf_len, offp);
} }