From owner-ports-jp@jp.freebsd.org  Fri Oct  2 11:02:15 1998
Received: by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id LAA04135;
	Fri, 2 Oct 1998 11:02:15 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from tokyonet-entrance.astec.co.jp (tokyonet-entrance.astec.co.jp [202.239.16.2])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id LAA04129
	for <ports-jp@jp.freebsd.org>; Fri, 2 Oct 1998 11:02:13 +0900 (JST)
	(envelope-from mrt@astec.co.jp)
Received: from amont.astec.co.jp (amont.astec.co.jp [172.20.10.1])
	by tokyonet-entrance.astec.co.jp (8.9.1+3.0W/3.7W-astecMX2.3) with ESMTP id LAA04121
	for <ports-jp@jp.freebsd.org>; Fri, 2 Oct 1998 11:02:13 +0900 (JST)
Received: from tamtam.astec.co.jp (tamtam.astec.co.jp [172.20.10.60])
	by amont.astec.co.jp (8.7.6/3.6W-astecMX2.4) with SMTP id LAA23895
	for <ports-jp@jp.freebsd.org>; Fri, 2 Oct 1998 11:02:12 +0900 (JST)
Received: from tamtam.astec.co.jp (localhost [127.0.0.1]) by tamtam.astec.co.jp (SMI-8.6/3.5W-astec-sol2.5) with ESMTP id LAA25042 for <ports-jp@jp.freebsd.org>; Fri, 2 Oct 1998 11:02:11 +0900
To: ports-jp@jp.freebsd.org
X-cite: xcite 1.20
References: <19981002043727L.taoka@infonets.hiroshima-u.ac.jp>
 <19981002102219A.taoka@infonets.hiroshima-u.ac.jp>
X-Emacs: Emacs 20.2, MULE 3.0 (MOMIJINOGA)
MIME-Version: 1.0 (generated by SEMI 1.8.4 - "Takaoka")
Content-Type: text/plain; charset=ISO-2022-JP
From: Murata Shuuichirou <mrt@astec.co.jp>
Date: 02 Oct 1998 11:02:10 +0900
In-Reply-To: TAOKA Satoshi's message of "Fri, 02 Oct 1998 10:22:19 +0900"
Message-ID: <i2k92jbu1p.fsf@tamtam.astec.co.jp>
Lines: 45
X-Mailer: Semi-gnus 6.8.4 (based on Gnus 5.6.27; for SEMI 1.8, FLIM 1.8/1.9)
Reply-To: ports-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: ports-jp 4600
Subject: [ports-jp 4600] Re: update: mule-2.3
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org

In message <19981002102219A.taoka@infonets.hiroshima-u.ac.jp>,
 `taoka@infonets.hiroshima-u.ac.jp' wrote:
> > % strip mule-19.34 
> > BFD: stZ17208: warning: allocated section `.data' not in segment
> > BFD: stZ17208: warning: allocated section `.bss' not in segment
> > 
> > $B$H$$$&$N$,$G$^$9!#$=$N$;$$$@$H;W$o$l$^$9$,!"(Bmule$B$,(Bsegmentation fault
> > (core dumped)$B$K$J$j$^$9!#(Bstrip$B$r$7$J$$$H@5>o$KF0$-$^$9!#(B
> 
> $B$3$l$O!"4D6-$K$h$k$b$N$G$O$J$$$h$&$G$9!#(Bmonster$B$G$b$J$j$^$9!#LdBj$O!"(B
> unexelf.c$B$K$"$k$h$&$G$9!#(B
> 
> emacs-20.3, xemacs-20.4$B!"(Bxemacs-19.16$B$N(Bunexelf.c$B$r(Bmonster(FreeBSD
> 3.0-BETA #25: Sat Sep 26 04:24:47 )$B$G;n$7$^$7$?$,!">/$J$/$H$b$I$l$b(B
> warning$B$J$7$K(Bstrip$B$G$-$^$9!#$G$9$,!"(BFreeBSD 3.0-19980928-BETA$B$@$H!"(B
> emacs-20.3, xemacs-20.4$B$N$_$H$J$j$^$9!#(B
> 
> $B2?$,5/$C$F$k$N$G$7$g$&(B?
> 
> $B$H$j$"$($:!"(BFreeBSD$B$N(BELF$BHG%Q%C%A$rEv$F$?!"$=$l$>$l$N(Bunexelf.c$B$rE:IU$7$F(B
> $B$*$-$^$9!#(B

$B:#!"2q<R$K$$$k$N$G<j85$K4D6-$,$J$/$F;n$;$J$$$N$G$9$,!"(B
xemacs-19.6 $B$H(B xemacs-20.4 $B$H$N:9J,$r8+$k$H!"(B

--- xemacs-19.16/unexelf.c      Fri Oct  2 10:07:49 1998
+++ xemacs-20.4/unexelf.c       Fri Oct  2 10:07:49 1998
@@ -680,7 +680,7 @@
   if (n < 0)
     fatal ("Couldn't find segment next to .bss in %s\n", old_name, 0);
 
-  NEW_PROGRAM_H (n).p_filesz += new_data2_size;
+  NEW_PROGRAM_H (n).p_filesz = new_bss_addr - NEW_PROGRAM_H (n).p_vaddr;
   NEW_PROGRAM_H (n).p_memsz = NEW_PROGRAM_H (n).p_filesz;
 
 #if 0 /* Maybe allow section after data2 - does this ever happen? */

$B$H$$$&ItJ,$,$"$j$^$9$M!#$G!"(Bmule-2.3 $B$H(B emacs-20.3 $B$H$N:9J,$K(B
$B$b!"F1$8$3$H$r$7$F$$$k$H$3$m$,$"$j$^$9!#B?J,$3$3$G$7$g$&!#(B

# $B$$$6$H$J$C$?$i!"$b$H$N$h$&$K(B unexelf.c $B$r$^$k$4$H?7$7$/$7$F(B
# $B$7$^$$$^$7$g$&!#(B

-- 
$B$`$i$?$7$e$&$$$A$m$&(B

