From: Paul Eggert <eggert@cs.ucla.edu>
To: Glenn Morris <rgm@gnu.org>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: /srv/bzr/emacs/emacs-24 r111251: * pre-crt0.c (data_start): Initialize to 1.
Date: Tue, 12 Feb 2013 14:06:59 -0800 [thread overview]
Message-ID: <511ABD03.1080109@cs.ucla.edu> (raw)
In-Reply-To: <kibobp1bsr.fsf@fencepost.gnu.org>
On 02/12/13 13:07, Glenn Morris wrote:
> the code is used by other, working platforms.
Can you please give an example of such a platform?
I tried to find an example but came up dry (please see below).
> Why is this change safe/necessary for emacs-24 at this late stage?
The change is clearly safe as the variable's contents are
never used. That being said, the change is not needed on a
platform that defines BSD_SYSTEM or DATA_START or
ORDINARY_LINK or CANNOT_DUMP or SYSTEM_MALLOC, as these
systems never use the address of the variable. I just now
checked configure.ac etc. and it appears that the change is
therefore not needed on aix, *bsd, cygwin, darwin, gnu,
hpux*, irix6-5, ms-dos, ms-w32, sol2*, unixware. Is this
the complete set of systems that Emacs ports to? If so, the
change isn't needed and I'd like to revert it (though the
variable should be removed in the trunk, as it's no longer
used anywhere). If not, the change is needed if the
variable is compiled with a newer GCC (or similar compiler)
with enough optimizing options that Emacs puts the variable
into bss.
I originally made the change because aix4-2 defined
ORDINARY_LINK but later AIX releases did not, which meant it
appeared that the variable was used on post-4.2 AIX
releases. However, with my change to unexaix.c today, the
AIX port never uses the address of the variable, so the
change currently is not needed on post-4.2 AIX releases
after all. I didn't put 2 and 2 together to see this;
sorry.
next prev parent reply other threads:[~2013-02-12 22:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1U5LM8-00058R-OJ@vcs.savannah.gnu.org>
2013-02-12 21:07 ` /srv/bzr/emacs/emacs-24 r111251: * pre-crt0.c (data_start): Initialize to 1 Glenn Morris
2013-02-12 22:06 ` Paul Eggert [this message]
2013-02-12 23:52 ` Glenn Morris
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=511ABD03.1080109@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=rgm@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.