aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorP.J. Darcy <darcypj@us.ibm.com>2004-10-02 16:33:06 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2004-10-02 16:33:06 +0000
commit1abb828af191bb7b36ee17c32f253f5eec371c29 (patch)
tree63840b1603ce38cb8260d454330273caaafadc4d
parentc72f8eec54e029306e2f4ce8226ecb632e0794ac (diff)
downloadgcc-1abb828af191bb7b36ee17c32f253f5eec371c29.zip
gcc-1abb828af191bb7b36ee17c32f253f5eec371c29.tar.gz
gcc-1abb828af191bb7b36ee17c32f253f5eec371c29.tar.bz2
ltcf-c.sh (tpf*): Add ld_shlibs=yes.
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. From-SVN: r88427
-rw-r--r--ChangeLog6
-rw-r--r--ltcf-c.sh4
-rw-r--r--ltcf-cxx.sh3
-rwxr-xr-xltconfig12
4 files changed, 25 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d3ec519..9ffbdf7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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-10-01 Bernd Schmidt <bernds_cb1@t-online.de>
* MAINTAINERS: Change my email address to my new work account.
diff --git a/ltcf-c.sh b/ltcf-c.sh
index 7cc273d..11f897d 100644
--- a/ltcf-c.sh
+++ b/ltcf-c.sh
@@ -213,6 +213,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'
diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh
index 7edeb86..48d5a53 100644
--- a/ltcf-cxx.sh
+++ b/ltcf-cxx.sh
@@ -697,6 +697,9 @@ case $host_os in
;;
esac
;;
+ tpf*)
+ ld_shlibs=yes
+ ;;
unixware*)
# FIXME: insert proper C++ library support
ld_shlibs=no
diff --git a/ltconfig b/ltconfig
index 0320478..01e64be 100755
--- a/ltconfig
+++ b/ltconfig
@@ -1374,6 +1374,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'