From owner-FreeBSD-tech-jp@jp.freebsd.org  Fri Oct  2 23:24:33 1998
Received: by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id XAA22665;
	Fri, 2 Oct 1998 23:24:33 +0900 (JST)
	(envelope-from owner-FreeBSD-tech-jp@jp.FreeBSD.org)
Received: from tohokugw.tohoku.iij.ad.jp (firewall-user@[202.232.14.98])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id XAA22660
	for <FreeBSD-tech-jp@jp.freebsd.org>; Fri, 2 Oct 1998 23:24:31 +0900 (JST)
	(envelope-from taguchi@tohoku.iij.ad.jp)
Received: by tohokugw.tohoku.iij.ad.jp; id XAA06892; Fri, 2 Oct 1998 23:24:29 +0900 (JST)
Received: from unknown(192.168.144.10) by tohokugw.tohoku.iij.ad.jp via smap (4.1)
	id xma006885; Fri, 2 Oct 98 23:24:18 +0900
Received: from localhost (hirose.tohoku.iij.ad.jp [192.168.144.2])
	by ayashi.tohoku.iij.ad.jp (8.8.8/3.6W98060211) with ESMTP id XAA09842
	for <FreeBSD-tech-jp@jp.freebsd.org>; Fri, 2 Oct 1998 23:24:05 +0900 (JST)
To: FreeBSD-tech-jp@jp.freebsd.org
From: Taguchi Takeshi <taguchi@tohoku.iij.ad.jp>
In-Reply-To: Your message of "Fri, 02 Oct 1998 22:41:40 +0900"
	<19981002224140M.kana@saijo.mke.mei.co.jp>
References: <19981002224140M.kana@saijo.mke.mei.co.jp>
X-Mailer: Mew version 1.93b26 on Emacs 19.28 / Mule 2.3 (SUETSUMUHANA)
X-Prom-Mew: Prom-Mew 1.92.9 (procmail reader for Mew)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19981002232310I.taguchi@tohoku.iij.ad.jp>
Date: Fri, 02 Oct 1998 23:23:10 +0900
X-Dispatcher: imput version 980522
Lines: 26
Reply-To: FreeBSD-tech-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: FreeBSD-tech-jp 1750
Subject: [FreeBSD-tech-jp 1750] Re: What's ELF
Errors-To: owner-FreeBSD-tech-jp@jp.freebsd.org
Sender: owner-FreeBSD-tech-jp@jp.freebsd.org

$BED8}$G$9!#(B

> $ $B;d$NAGKQ$J5?Ld!'(B
> $   1. $B$J$s$G(B -1 $B$8$c$J$/$F(B 1 $B$J$N!)(B
> $   2. $B$J$s$G(B foo $B$H(B _foo $B$GCM$,0c$&$N!)(B
> 
> $B8+$k$Y$-$H$3$m$,0c$&$N$+$b!";d$NFI$_0c$($+$b$7$l$^$;$s!#(B
> $BD9$/$J$j$^$9$,!"(B/usr/src/lib/libc/gen/dlfcn.c $B$r0zMQ$7$^$9!#(B

#pragma weak $B$C$F2?$J$N$G$7$g$&!)(B

> [current]% ./bar1
> foo = 1
> (null)
> _foo = 0
> Undefined symbol "_foo"

monster $B$G$O$J$$$&$A$N%^%7%s$G$bF1MM$N7k2L$G$7$?!#$A$J$_$K!"(B
ftcconv.c $B$N%G%P%C%0%k!<%A%s$r@8$+$7$?$H$3$m$N=PNO$O!"(B

dlopen(/usr/X11R6/lib/modules/codeconv/ISO8859_1.so, 2)=0x2818a700
dlsym(0x2818a700, ISO8859_1_entrypoint)=0x282b83c4
dlclose(0x2818a700)=0

$B$G!"$J$s$+F0$$$F$k$h$&$K?6$kIq$C$F$/$l$^$9!#(B
$B$,!"(BX $B%5!<%PA4BN$,8G$^$j$^$9!#(Btop $B$G8+$k$H(B STATUS $B$,(B Run $B$N$^$^!"$G$9!#(B
