summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-20 15:59:07 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-20 15:59:07 +0000
commit0753f1b5364c4fe7169b9a836b0bc365ffd31300 (patch)
tree364c58b7975a1024e3f7790e762f2842ef95420c
parentc7db3d1af9f6f11db99200cdfa3aeb103fad7589 (diff)
downloadgcc-0753f1b5364c4fe7169b9a836b0bc365ffd31300.tar.gz
* ltconfig (osf[345]): Append $major to soname_spec.
Reflect this in library_names_spec. * ltmain.sh (osf): Prefix $major with . for use as extension. boehm-gc: * ltconfig (osf[345]): Append $major to soname_spec. Reflect this in library_names_spec. * ltmain.sh (osf): Prefix $major with . for use as extension. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59306 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--ChangeLog6
-rw-r--r--boehm-gc/ChangeLog6
-rwxr-xr-xboehm-gc/ltconfig4
-rw-r--r--boehm-gc/ltmain.sh2
-rwxr-xr-xltconfig4
-rw-r--r--ltmain.sh2
6 files changed, 18 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 1832fa493cd..df61247cdc0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * ltconfig (osf[345]): Append $major to soname_spec.
+ Reflect this in library_names_spec.
+ * ltmain.sh (osf): Prefix $major with . for use as extension.
+
2002-11-19 Andreas Jaeger <aj@suse.de>
* libtool.m4 (libtool_flags): Add patch from libtool CVS: Support
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index a0d5917e56a..21d304df594 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * ltconfig (osf[345]): Append $major to soname_spec.
+ Reflect this in library_names_spec.
+ * ltmain.sh (osf): Prefix $major with . for use as extension.
+
2002-10-02 Andreas Jaeger <aj@suse.de>
* include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
diff --git a/boehm-gc/ltconfig b/boehm-gc/ltconfig
index a01334f9212..b8eef56a916 100755
--- a/boehm-gc/ltconfig
+++ b/boehm-gc/ltconfig
@@ -2017,8 +2017,8 @@ os2*)
osf3* | osf4* | osf5*)
version_type=osf
need_version=no
- soname_spec='${libname}${release}.so'
- library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+ soname_spec='${libname}${release}.so$major'
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
shlibpath_var=LD_LIBRARY_PATH
# this will be overridden with pass_all, but let us keep it just in case
deplibs_check_method='file_magic COFF format alpha shared library'
diff --git a/boehm-gc/ltmain.sh b/boehm-gc/ltmain.sh
index 50515ad0b9e..72699bea1c1 100644
--- a/boehm-gc/ltmain.sh
+++ b/boehm-gc/ltmain.sh
@@ -1715,7 +1715,7 @@ compiler."
;;
osf)
- major=`expr $current - $age`
+ major=.`expr $current - $age`
versuffix=".$current.$age.$revision"
verstring="$current.$age.$revision"
diff --git a/ltconfig b/ltconfig
index 5ccefe0463e..68be49bb2ee 100755
--- a/ltconfig
+++ b/ltconfig
@@ -1286,8 +1286,8 @@ os2*)
osf3* | osf4* | osf5*)
version_type=osf
need_version=no
- soname_spec='${libname}${release}.so'
- library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+ soname_spec='${libname}${release}.so$major'
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
shlibpath_var=LD_LIBRARY_PATH
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
diff --git a/ltmain.sh b/ltmain.sh
index 92526b60b79..5d4281c54d2 100644
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -2606,7 +2606,7 @@ EOF
;;
osf)
- major=`expr $current - $age`
+ major=.`expr $current - $age`
versuffix=".$current.$age.$revision"
verstring="$current.$age.$revision"