From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13783: simplify data_start configuration for Emacs Date: Fri, 22 Feb 2013 23:34:05 +0200 Message-ID: <83vc9kkp82.fsf@gnu.org> References: <512729DD.7040903@cs.ucla.edu> <83d2vsmrc0.fsf@gnu.org> <5127DB79.6000202@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1361568885 534 80.91.229.3 (22 Feb 2013 21:34:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Feb 2013 21:34:45 +0000 (UTC) Cc: 13783@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 22 22:35:07 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U90Gp-000220-1Q for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2013 22:35:07 +0100 Original-Received: from localhost ([::1]:49963 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U90GU-0000XR-HE for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2013 16:34:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U90GO-0000KY-G8 for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 16:34:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U90GM-0007YL-5v for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 16:34:40 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U90GM-0007Y9-2S for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 16:34:38 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U90Hh-0001IV-NF for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 16:36:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Feb 2013 21:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13783 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 13783-submit@debbugs.gnu.org id=B13783.13615689414957 (code B ref 13783); Fri, 22 Feb 2013 21:36:01 +0000 Original-Received: (at 13783) by debbugs.gnu.org; 22 Feb 2013 21:35:41 +0000 Original-Received: from localhost ([127.0.0.1]:44735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U90HM-0001Ht-Dx for submit@debbugs.gnu.org; Fri, 22 Feb 2013 16:35:40 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:35803) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U90HJ-0001Hi-B6 for 13783@debbugs.gnu.org; Fri, 22 Feb 2013 16:35:38 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MIN00H0056SFF00@a-mtaout20.012.net.il> for 13783@debbugs.gnu.org; Fri, 22 Feb 2013 23:34:11 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MIN00GKV58ZYVD0@a-mtaout20.012.net.il>; Fri, 22 Feb 2013 23:34:11 +0200 (IST) In-reply-to: <5127DB79.6000202@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71671 Archived-At: > Date: Fri, 22 Feb 2013 12:56:25 -0800 > From: Paul Eggert > CC: 13783@debbugs.gnu.org > > The patch omits data_start on hosts that use the system malloc, > since data_start is now needed only on hosts where GNU Emacs > supplies malloc. You mean, gmalloc? How does that come into play? It seems like data_start and data_size derived from it matter only when displaying memory usage warnings -- is that correct? If so, why doesn't this matter when system malloc is used? > On GNU hosts the linker supplies the address automatically; > on non-GNU hosts we approximate it by declaring a > variable whose contents don't matter. The MS-Windows build computes data_start and data_size inside unexw32.c at dump time -- is that good enough? (I'm asking because your change doesn't touch the Windows build.) Thanks.