From owner-freebsd-current Wed Sep 9 13:15:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA12816 for freebsd-current-outgoing; Wed, 9 Sep 1998 13:15:45 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA12800 for ; Wed, 9 Sep 1998 13:15:42 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id NAA24441; Wed, 9 Sep 1998 13:14:44 -0700 (PDT) (envelope-from jdp) Message-Id: <199809092014.NAA24441@austin.polstra.com> To: gmarco@giovannelli.it Subject: Re: /var/run/ld-elf.so.hints In-Reply-To: <98090920205200.00755@gmarco.eclipse.org> References: <98090920205200.00755@gmarco.eclipse.org> Organization: Polstra & Co., Seattle, WA Cc: current@FreeBSD.ORG Date: Wed, 09 Sep 1998 13:14:44 -0700 From: John Polstra Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <98090920205200.00755@gmarco.eclipse.org>, Gianmarco Giovannelli wrote: > > Is it correct this file ? > > gmarco:/home/gmarco# hd /var/run/ld-elf.so.hints > 00000000 45 68 6e 74 01 00 00 00 80 00 00 00 15 00 00 00 |Ehnt............| > 00000010 00 00 00 00 14 00 00 00 00 00 00 00 00 00 00 00 |................| > 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| > * > 00000080 2f 75 73 72 2f 6c 6f 63 61 6c 2f 70 67 73 71 6c |/usr/local/pgsql| > 00000090 2f 6c 69 62 00 |/lib.| > 00000095 > > It looks very short compared to aout one .... Yes, it's correct. The ELF hints file contains only the list of directories to search. It doesn't list the individual files like the a.out hints file does. Because of the way ELF shared libraries are found, it doesn't need that extra information. (I.e., it wouldn't make it any faster.) -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message