* libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 11 Apr 2007 16:09:57 +0000 (16:09 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 11 Apr 2007 16:09:57 +0000 (16:09 +0000)
gdb/ChangeLog
gdb/libunwind-frame.c

index eb7d253afac0a3fe568a3f44098db71ad100b164..8779944ee6df407855e6c6eaa1f74c3b459d7647 100644 (file)
@@ -1,3 +1,7 @@
+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
index 662a87fd11a3141d28689d1a70bc9cae995093df..66ffb8ea29d3de55ce73b3aebfbdf80ad1ba40fa 100644 (file)
@@ -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));