This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Merge libtool support for s390x-ibm-tpf


DJ Delorie wrote:

> libtool changes can be merged to src once they're in libtool's master
> repository.  Probably a good idea to email a note to at least
> binutils@sources.redhat.com and gdb-patches@sources.redhat.com.

I've committed the following patch to merge s390x-ibm-tpf target
support for libtool into the src repository.  The same patch has
already been added to GCC, and equivalent functionality has been
merged to upstream libtool.

Bye,
Ulrich


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.

Index: ltcf-c.sh
===================================================================
RCS file: /cvs/gcc/gcc/ltcf-c.sh,v
retrieving revision 1.20
diff -c -p -r1.20 ltcf-c.sh
*** ltcf-c.sh	27 Apr 2004 06:14:30 -0000	1.20
--- ltcf-c.sh	21 Sep 2004 17:37:43 -0000
*************** EOF
*** 213,218 ****
--- 213,222 ----
      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: ltcf-cxx.sh
===================================================================
RCS file: /cvs/gcc/gcc/ltcf-cxx.sh,v
retrieving revision 1.29
diff -c -p -r1.29 ltcf-cxx.sh
*** ltcf-cxx.sh	3 Aug 2004 00:52:06 -0000	1.29
--- ltcf-cxx.sh	21 Sep 2004 17:37:43 -0000
*************** case $host_os in
*** 697,702 ****
--- 697,705 ----
          ;;
      esac
      ;;
+   tpf*)
+     ld_shlibs=yes
+     ;;
    unixware*)
      # FIXME: insert proper C++ library support
      ld_shlibs=no
Index: ltconfig
===================================================================
RCS file: /cvs/gcc/gcc/ltconfig,v
retrieving revision 1.31
diff -c -p -r1.31 ltconfig
*** ltconfig	27 Apr 2004 06:14:30 -0000	1.31
--- ltconfig	21 Sep 2004 17:37:44 -0000
*************** sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
*** 1374,1379 ****
--- 1374,1391 ----
    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'


-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]