From owner-cvs-libexec Sun Jun 21 07:24:09 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA23033 for cvs-libexec-outgoing; Sun, 21 Jun 1998 07:24:09 -0700 (PDT) (envelope-from owner-cvs-libexec) 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 HAA22992; Sun, 21 Jun 1998 07:24:03 -0700 (PDT) (envelope-from mckay@FreeBSD.org) From: Stephen McKay Received: (from mckay@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA25239; Sun, 21 Jun 1998 07:22:32 -0700 (PDT) Date: Sun, 21 Jun 1998 07:22:32 -0700 (PDT) Message-Id: <199806211422.HAA25239@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-libexec@FreeBSD.ORG Subject: cvs commit: src/libexec/rtld-aout rtld.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mckay 1998/06/21 07:22:31 PDT Modified files: libexec/rtld-aout rtld.c Log: Since I got no objections to this patch, and no one has offered any alternative, I present .. ta! da! .. the __error() hack. This patch to the a.out dynamic loader provides old a.out binaries with __error() if they are linked with an older libc that lacks it, but are also linked against a library that needs it. There is a smaller, tricker hack that takes advantage of the fact that ld.so has __error() too, courtesy of the new libc, but this hack is the straightforward version. Revision Changes Path 1.55 +70 -1 src/libexec/rtld-aout/rtld.c