From owner-cvs-all Sat Sep 5 13:28:55 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA08868 for cvs-all-outgoing; Sat, 5 Sep 1998 13:28:55 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA08863; Sat, 5 Sep 1998 13:28:55 -0700 (PDT) (envelope-from jdp@FreeBSD.org) From: John Polstra Received: (from jdp@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA20350; Sat, 5 Sep 1998 13:28:48 -0700 (PDT) Date: Sat, 5 Sep 1998 13:28:48 -0700 (PDT) Message-Id: <199809052028.NAA20350@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/libexec/rtld-aout shlib.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 1998/09/05 13:28:48 PDT Modified files: libexec/rtld-aout shlib.c Log: Don't recognize a file as an a.out shared library unless it has at least 2 version numbers. This fixes the bug where the dynamic linker would try to load an ELF shared library if it found one. Note, this change also fixes the same thing in "ld", because the code is shared. For "ld" there is still a problem with ".a" libraries, which cannot be distinguished by name. I haven't decided what, if anything, to do about that. Revision Changes Path 1.21 +4 -6 src/libexec/rtld-aout/shlib.c