From d668ffd12451cb7d331f085834c5c4e9ecee7a15 Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 19 Mar 2013 16:57:04 +0000 Subject: [PATCH] Add a comment about why aout support is still here: We need it for compat2x, which is still in use, as evidence by recent bug reports. --- sbin/ldconfig/ldconfig.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sbin/ldconfig/ldconfig.c b/sbin/ldconfig/ldconfig.c index 7fc64818d286..31d8083df7a8 100644 --- a/sbin/ldconfig/ldconfig.c +++ b/sbin/ldconfig/ldconfig.c @@ -97,6 +97,13 @@ static void listhints(void); static int readhints(void); static void usage(void); +/* + * Note on aout/a.out support. + * To properly support shared libraries for compat2x, which are a.out, we need + * to support a.out here. As of 2013, bug reports are still coming in for this + * feature (on amd64 no less), so we know it is still in use. + */ + int main(int argc, char **argv) {