emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dumper problems and a possible solutions


From: Rich Felker
Subject: Re: Dumper problems and a possible solutions
Date: Wed, 25 Jun 2014 19:21:40 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Jun 25, 2014 at 04:04:26PM -0700, Paul Eggert wrote:
> Rich Felker wrote:
> >this model is also incompatible
> >with PIE and with most modern systems where malloc may return "high"
> >addresses, and thereby likely buggy even on the systems it's currently
> >used on (if any).
> 
> The model works just fine on a typical modern 32-bit host, so long
> as you configure --with-wide-int.  That's because the 32-bit
> addresses fit comfortably in the low half of 64-bit integers.

I see. I wasn't aware of that option. In any case it would work just
fine with the proposed C static array output: for 32-bit pointers, the
lower 32 bits would actually be the address constant reference and the
upper 32 bits would be an integer constant expression.

Rich



reply via email to

[Prev in Thread] Current Thread [Next in Thread]