This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Fix shlib-versions for mips-linux



I encountered the problem that the versioned symbols from libc.so,
ld.so, linuxthreads and libdl.so didn't match in the presence of weak
symbols which are overwritten in another library for mips-linux.  

The appended patch should fix these problems (I've also changed libm).
I'll give it real testing later on and will only then commit it.

Is there a better way to do this?  Roland and Ulrich, you'll might
face similiar problems with Hurd and ia64-linux.

Andreas

For linuxthreads:
2000-04-14  Andreas Jaeger  <aj@suse.de>

	* shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
	2.2 for linuxthreads.

2000-04-14  Andreas Jaeger  <aj@suse.de>

	* shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
	2.2 for libdl, ld and libm.

--- libc-clean/shlib-versions	Mon Mar 27 21:35:08 2000
+++ glibc-2.2/shlib-versions	Fri Apr 14 08:47:47 2000
@@ -23,6 +23,7 @@
 alpha.*-.*-linux.*	libm=6.1
 alpha.*-.*-.*		libm=6
 powerpc-.*-.*		libm=6
+mips.*-.*-linux.*	libm=6			GLIBC_2.0 GLIBC_2.2
 mips.*-.*-.*		libm=6
 arm.*-.*-.*		libm=6
 ia64-.*-.*		libm=6			GLIBC_2.2
@@ -54,11 +55,13 @@
 alpha.*-.*-linux.*	ld=ld-linux.so.2
 arm.*-.*-linux.*	ld=ld-linux.so.2
 ia64-.*-linux.*		ld=ld-linux.so.2	GLIBC_2.2
+mips.*-.*-linux.*	ld=ld.so.1		GLIBC_2.0 GLIBC_2.2
 # We use the ELF ABI standard name for the default.
 .*-.*-.*		ld=ld.so.1
 
 # The -ldl interface (see <dlfcn.h>) is the same on all platforms.
 alpha.*-.*-linux.*	libdl=2.1
+mips.*-.*-linux.*	libdl=2			GLIBC_2.0 GLIBC_2.2
 .*-.*-.*		libdl=2
 
 # So far the -lutil interface is the same on all platforms, except for the
--- libc-clean/linuxthreads/shlib-versions	Wed Mar 11 04:42:22 1998
+++ glibc-2.2/linuxthreads/shlib-versions	Fri Apr 14 08:55:17 2000
@@ -1,2 +1,3 @@
 # Xavier Leroy's Linux clone based thread library.
+mips.*-.*-linux.*	libpthread=0		GLIBC_2.0 GLIBC_2.2
 .*-.*-linux.*		libpthread=0

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de
    currently: aj@oss.sgi.com

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