Date: Wed, 09 Sep 1998 13:14:44 -0700 From: John Polstra <jdp@polstra.com> To: gmarco@giovannelli.it Cc: current@FreeBSD.ORG Subject: Re: /var/run/ld-elf.so.hints Message-ID: <199809092014.NAA24441@austin.polstra.com> In-Reply-To: <98090920205200.00755@gmarco.eclipse.org> References: <98090920205200.00755@gmarco.eclipse.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <98090920205200.00755@gmarco.eclipse.org>, Gianmarco Giovannelli <gmarco@giovannelli.it> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809092014.NAA24441>