2004-10-05 Ulrich Weigand <uweigand@de.ibm.com>
authorUlrich Weigand <uweigand@de.ibm.com>
Tue, 5 Oct 2004 13:34:42 +0000 (13:34 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Tue, 5 Oct 2004 13:34:42 +0000 (13:34 +0000)
Merged from GCC / libtool upstream:
2004-10-02  P.J. Darcy  <darcypj@us.ibm.com>
* ltcf-c.sh (tpf*): Add ld_shlibs=yes.
* ltcf-cxx.sh (tpf*): Likewise.
* ltconfig (tpf*): Add TPF OS configuration support.

ChangeLog
ltcf-c.sh
ltcf-cxx.sh
ltconfig

index 8b3ecc9ac53ab4f142c0c632291ff90c94726dea..960350925a059d2c90646ccf25e3e6b3af27d944 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       Merged from GCC / libtool upstream:
+       2004-10-02  P.J. Darcy  <darcypj@us.ibm.com>
+       * ltcf-c.sh (tpf*): Add ld_shlibs=yes.
+       * ltcf-cxx.sh (tpf*): Likewise.
+       * ltconfig (tpf*): Add TPF OS configuration support.
+
 2004-09-30  Tomer Levi  <Tomer.Levi@nsc.com>
 
        * configure.in: Enable target-libgloss for crx-*-*.
index e73ff16f7f879912f4937308a325e756873c8d2a..2b02417c46d93d5090f33f494c2da6ab58c018b7 100644 (file)
--- a/ltcf-c.sh
+++ b/ltcf-c.sh
@@ -223,6 +223,10 @@ EOF
     hardcode_shlibpath_var=no
     ;;
 
+  tpf*)
+    ld_shlibs=yes
+    ;;
+
   *)
     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
index 465650ff4d5b57d52a95b724e21bab4961257a5f..620b318e09a6d4653caa6150bd14507e93cddee5 100644 (file)
@@ -652,6 +652,9 @@ case $host_os in
         ;;
     esac
     ;;
+  tpf*)
+    ld_shlibs=yes
+    ;;
   unixware*)
     # FIXME: insert proper C++ library support
     ld_shlibs=no
index 7972327da0a7f9be7720ecd56b7c3177fffa271f..2fec9afa1ed602c23c27a7d046791ed6b100da68 100755 (executable)
--- a/ltconfig
+++ b/ltconfig
@@ -1371,6 +1371,18 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   esac
   ;;
 
+tpf*)
+  version_type=linux
+  need_lib_prefix=no
+  need_version=no
+  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $major $libname.so'
+  soname_spec='${libname}${release}.so$major'
+  shlibpath_var=LD_LIBRARY_PATH
+  shlibpath_overrides_runpath=no
+  hardcode_into_libs=yes
+  dynamic_linker='GNU/Linux ld.so'
+  ;;
+
 uts4*)
   version_type=linux
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'