emacs-devel
[Top][All Lists]
Advanced

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

Re: pdumping "into" the executable


From: dancol
Subject: Re: pdumping "into" the executable
Date: Mon, 26 Feb 2018 13:18:15 -0800
User-agent: SquirrelMail/1.4.23 [SVN]

>>>>>> "Daniel" == Daniel Colascione <address@hidden> writes:
>
> Daniel> I don't think strip-robustness is all that important, and I'd
> Daniel> hope we could re-sign binaries as needed.
>
> Distros usually build everything with debuginfo and then strip off the
> debuginfo.  So, building this way would require special build hacks for
> the distros.
>
> Maybe instead you could use objcopy to stuff the data into some section
> in the executable.  Or, just turn the dump to a C file, then compile it
> and do a second link.  Aside from (maybe hypothetical) C compiler
> limits, that would be very portable.

But not redumpable.

Besides, the problem with a second link is that it might change the
relative positions of symbols within Emacs, leading to havoc when Emacs
then tries to load the dump. It doesn't feel like a good idea to depend on
object layout being stable across different links.




reply via email to

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