From owner-freebsd-hackers Wed Jun 23 9:12:20 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mx.nsu.ru (mx.nsu.ru [193.124.215.71]) by hub.freebsd.org (Postfix) with ESMTP id 22F3114FCB for ; Wed, 23 Jun 1999 09:11:57 -0700 (PDT) (envelope-from fjoe@iclub.nsu.ru) Received: from iclub.nsu.ru (fjoe@iclub.nsu.ru [193.124.222.66]) by mx.nsu.ru (8.9.1/8.9.0) with ESMTP id XAA07711 for ; Wed, 23 Jun 1999 23:11:47 +0700 (NOVST) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.9.3/8.8.5) with ESMTP id XAA41761 for ; Wed, 23 Jun 1999 23:11:47 +0700 (NSS) Date: Wed, 23 Jun 1999 23:11:47 +0700 (NSS) From: Max Khon To: freebsd-hackers@freebsd.org Subject: .so versions Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, there! sorry if this question is not for -hackers I have some program that loads some .so via dlopen (ELF) and the looks up some symbols in that .so (functions) and calls that functions (with some known ABI). There are two problems with this: - how to check ABI version for program and .so (to be sure that ABI version used by program and implemented in .so are the same) - how to reload foo.so safely. i.e. if there were any errors while reloading foo.so the program should be able to run with previously loaded version of foo.so (symbols obtained from previous load of foo.so should not be lost). /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message