From owner-freebsd-hackers Fri Sep 17 10:16: 3 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mushi.colo.neosoft.com (mushi.colo.neosoft.com [206.109.6.82]) by hub.freebsd.org (Postfix) with SMTP id 23A6614FCA for ; Fri, 17 Sep 1999 10:16:00 -0700 (PDT) (envelope-from peter@bonkers.taronga.com) Received: (qmail 13485 invoked from network); 17 Sep 1999 17:15:59 -0000 Received: from bonkers.in.taronga.com (HELO bonkers.taronga.com) (10.0.0.1) by mushi.in.taronga.com with SMTP; 17 Sep 1999 17:15:59 -0000 Received: (from peter@localhost) by bonkers.taronga.com (8.9.1/8.9.1) id MAA24311 for hackers@freebsd.org; Fri, 17 Sep 1999 12:15:58 -0500 (CDT) (envelope-from peter) Date: Fri, 17 Sep 1999 12:15:58 -0500 (CDT) From: Peter da Silva Message-Id: <199909171715.MAA24311@bonkers.taronga.com> To: hackers@freebsd.org Subject: Minor numbers in shared libraries. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In a discussion with Nate Williams, I have learned that the reason FreeBSD doesn't use minor numbers with shared libraries because standard ELF doesn't support it. Is this a hard-and-fast unbreakable rule, or is this something that could be implemented if it can be done in a way that's compatible with standard ELF? It seems to me that there should be a way of working around this, by adding a field (either in a new section or an unused field (properly flagged with a magic number) in the header) to communicate the minor version number to ld.so, and having ld.so modify its search path by looking for X.so.M.N (where N >= the number in the header), before X.so.M. This shouldn't break any "foreign" libraries, nor break libraries created under FreeBSD when used on "foreign" systems. Am I missing something really obvious here? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message