This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Patches to support traditional mips target (mips-dde-sysv4.2MP)
- To: binutils at sourceware dot cygnus dot com
- Subject: Patches to support traditional mips target (mips-dde-sysv4.2MP)
- From: "Koundinya.K" <kk at ddeorg dot soft dot net>
- Date: Wed, 03 May 2000 16:49:31 +0530
Here is the patch for binutils-000428/ltconfig
Index: ltconfig
===================================================================
RCS file: /gnu/cvsroot/binutils-000428/ltconfig,v
retrieving revision 1.1.1.1
diff -u -p -b -r1.1.1.1 ltconfig
--- ltconfig 2000/04/29 05:24:14 1.1.1.1
+++ ltconfig 2000/04/29 06:18:59
@@ -756,6 +756,10 @@ else
if test -d /usr/nec ;then
pic_flag='-Kconform_pic'
link_static_flag='-Bstatic'
+ elif test -d /usr/dde ;then
+ pic_flag='-KPIC'
+ link_static_flag='-Bstatic'
+ wl='-Wl,'
fi
;;
*)
@@ -1509,6 +1513,12 @@ else
runpath_var=LD_RUN_PATH
hardcode_runpath_var=yes
ld_shlibs=yes
+ elif test -d /usr/dde; then
+ archive_cmds='$CC -V -dy -G -z text -h $soname -o $lib $libobjs'
+ hardcode_shlibpath_var=no
+ runpath_var=LD_RUN_PATH
+ no_undefined_flag='-z text'
+ ld_shlibs=yes
fi
;;
@@ -2105,6 +2115,12 @@ sysv4*MP*)
version_type=linux
library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
soname_spec='$libname.so.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ elif test -d /usr/dde ;then
+ dynamic_linker="/usr/lib/libc.so.1"
+ version_type=osf
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+ soname_spec='${libname}${release}.so$major'
shlibpath_var=LD_LIBRARY_PATH
fi
;;