unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 13783@debbugs.gnu.org
Subject: bug#13783: simplify data_start configuration for Emacs
Date: Fri, 22 Feb 2013 23:34:05 +0200	[thread overview]
Message-ID: <83vc9kkp82.fsf@gnu.org> (raw)
In-Reply-To: <5127DB79.6000202@cs.ucla.edu>

> Date: Fri, 22 Feb 2013 12:56:25 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> 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.





  reply	other threads:[~2013-02-22 21:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-22  8:18 bug#13783: simplify data_start configuration for Emacs Paul Eggert
2013-02-22 13:05 ` Eli Zaretskii
2013-02-22 20:56   ` Paul Eggert
2013-02-22 21:34     ` Eli Zaretskii [this message]
2013-02-23  1:36       ` Paul Eggert
2013-02-23 10:47         ` Eli Zaretskii
2013-02-25  5:57           ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83vc9kkp82.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=13783@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).