From owner-freebsd-current Mon Jun 22 15:31:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA09078 for freebsd-current-outgoing; Mon, 22 Jun 1998 15:31:28 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA09057 for ; Mon, 22 Jun 1998 15:31:17 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.8.8/8.8.8/Spinner) with ESMTP id GAA04192; Tue, 23 Jun 1998 06:29:22 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199806222229.GAA04192@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Terry Lambert cc: dima@tejblum.dnttm.rssi.ru (Dmitrij Tejblum), joelh@gnu.org, fenner@parc.xerox.com, current@FreeBSD.ORG Subject: Re: Bogus errno twiddling not by lstat... In-reply-to: Your message of "Mon, 22 Jun 1998 17:05:39 GMT." <199806221705.KAA10780@usr06.primenet.com> Date: Tue, 23 Jun 1998 06:29:21 +0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Terry Lambert wrote: > > > Since the malloc.conf file is unnecessarily being looked for in the > > > printf case (since ld.so already caused it to be looked for, and didn't > > > find it), I think the redundant call to llok for it is certainly worth > > > removing. > > > > You have repeated this misinformation at least 10th times, I think. > > malloc.conf looked up only on first call to malloc(). ld.so probably > > call malloc() from the C library quite rare. > > Do you remember the discussion about the __error hacks to ld.so? > > Initially when I was attempting to use weak symbols as they are > documented to work (but they don't), I had a number of myseterious > lockups on startup. Weak and indirects are not implemented in ld.so for a.out at runtime. The only place that they are implemented is in the elf ld.so and in both the a.out and elf ld(1). It shouldn't be too hard to get the a.out ld.so to do something sensible though for weak and/or indirect symbols. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message