aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/t-libunwind
diff options
context:
space:
mode:
authorDavid Mosberger <davidm@hpl.hp.com>2003-11-20 22:53:02 +0000
committerJim Wilson <wilson@gcc.gnu.org>2003-11-20 14:53:02 -0800
commit3e7869c6443a05a1fdbedd087eed14402df2875f (patch)
tree0b2f2a1d3b8d58631f3565571f4188a1240462df /gcc/config/t-libunwind
parent146a1ecb877611526fcd141a6efc1e290e13e412 (diff)
downloadgcc-3e7869c6443a05a1fdbedd087eed14402df2875f.zip
gcc-3e7869c6443a05a1fdbedd087eed14402df2875f.tar.gz
gcc-3e7869c6443a05a1fdbedd087eed14402df2875f.tar.bz2
Patch from David Mosberger
* config/t-libunwind: Mention unwind-c.c. (SHLIB_LC): Overwrite the default-value from t-slibgcc-elf-ver and mention -lunwind so that the resulting libgcc_s.so has the necessary DT_NEEDED entry for libunwind. * unwind-libunwind.c (_Unwind_GetCFA): Implement. (_Unwind_GetBSP) [UNW_TARGET_IA64]: New function. From-SVN: r73777
Diffstat (limited to 'gcc/config/t-libunwind')
-rw-r--r--gcc/config/t-libunwind4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/t-libunwind b/gcc/config/t-libunwind
index be50bc4..a27c5e2 100644
--- a/gcc/config/t-libunwind
+++ b/gcc/config/t-libunwind
@@ -1 +1,3 @@
-LIB2ADDEH = $(srcdir)/unwind-libunwind.c $(srcdir)/unwind-sjlj.c
+SHLIB_LC = -lunwind -lc
+LIB2ADDEH = $(srcdir)/unwind-libunwind.c $(srcdir)/unwind-sjlj.c \
+ $(srcdir)/unwind-c.c