summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2007-04-11 16:09:57 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2007-04-11 16:09:57 +0000
commit7c65df592c3e3fd74658dd39c8352c92beb9e1af (patch)
tree27b5726a6e2493c2c9b3aab82de6b9668eb11317
parent5cd559a4388df0fd06a6450d5f768678da6e7759 (diff)
downloadgdb-7c65df592c3e3fd74658dd39c8352c92beb9e1af.tar.gz
* libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/libunwind-frame.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index eb7d253afac..8779944ee6d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
+
+2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
* gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New
macros.
(TYPE_IS_OPAQUE): Empty vs. opaque structures are now
diff --git a/gdb/libunwind-frame.c b/gdb/libunwind-frame.c
index 662a87fd11a..66ffb8ea29d 100644
--- a/gdb/libunwind-frame.c
+++ b/gdb/libunwind-frame.c
@@ -73,7 +73,9 @@ struct libunwind_frame_cache
#define STRINGIFY(name) STRINGIFY2(name)
#ifndef LIBUNWIND_SO
-#define LIBUNWIND_SO "libunwind-" STRINGIFY(UNW_TARGET) ".so"
+/* Use the stable ABI major version number. `libunwind-ia64.so' is a link time
+ only library, not a runtime one. */
+#define LIBUNWIND_SO "libunwind-" STRINGIFY(UNW_TARGET) ".so.7"
#endif
static char *get_reg_name = STRINGIFY(UNW_OBJ(get_reg));