summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCurt Wohlgemuth <curtw@cup.hp.com>2007-11-14 12:59:10 -0700
committerDavid Mosberger-Tang <davidm@panda.mostang.com>2007-11-14 12:59:10 -0700
commit7fda769769013d386cc42ff7694c19fe06c04800 (patch)
tree8879485151e17148b1d1847f813d0c04443723b9
parent899ffbaa394138741d92c3aa0f1c4bf954ac9409 (diff)
downloadlibunwind-7fda769769013d386cc42ff7694c19fe06c04800.tar.gz
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.
-rw-r--r--src/ia64/Ginit.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ia64/Ginit.c b/src/ia64/Ginit.c
index 9a7859c0..41aab732 100644
--- a/src/ia64/Ginit.c
+++ b/src/ia64/Ginit.c
@@ -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,
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);
}