From owner-cvs-all Fri Feb 5 12:41:53 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA27558 for cvs-all-outgoing; Fri, 5 Feb 1999 12:41:53 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA27552 for ; Fri, 5 Feb 1999 12:41:52 -0800 (PST) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id PAA16695; Fri, 5 Feb 1999 15:11:31 -0500 (EST) (envelope-from luoqi) Date: Fri, 5 Feb 1999 15:11:31 -0500 (EST) From: Luoqi Chen Message-Id: <199902052011.PAA16695@lor.watermarkgroup.com> To: jdp@polstra.com Subject: Re: cvs commit: src/sys/kern imgact_elf.c Cc: committers@FreeBSD.ORG Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > In article <199902051636.LAA15502@lor.watermarkgroup.com>, > Luoqi Chen wrote: > > > The problem is that the interpreter name in the svr4 elf brand > > structure is *WRONG*, it should be /lib/ld.so.1, not /lib/libc.so.1 > > (svr4/svr4_sysvec.c). > > Are you sure? At least in x86 versions of SVR4, the dynamic linker > was a part of libc. And the System V Application Binary Interface > specification says that libc is named "/usr/lib/libc.so.1". > At least on the solaris 2.6 cd, /usr/bin/ls runs without problem after I changed libc.so.1 to ld.so.1, and here's more evidence, # strings ls | head /usr/lib/ld.so.1 <-- normally .interp is the first section getopt _start _mcount calloc atoi getpwuid _environ stat64 _end # ldd ./ls ./ls: libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 => /usr/lib/libdl.so.1 -lq > John > -- > John Polstra jdp@polstra.com > John D. Polstra & Co., Inc. Seattle, Washington USA > "Nobody ever went broke underestimating the taste of the American public." > -- H. L. Mencken > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message