[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.
- pdumping "into" the executable, Stefan Monnier, 2018/02/26
- Re: pdumping "into" the executable, Daniel Colascione, 2018/02/26
- Re: pdumping "into" the executable, Tom Tromey, 2018/02/26
- Re: pdumping "into" the executable,
dancol <=
- Re: pdumping "into" the executable, Paul Eggert, 2018/02/26
- Re: pdumping "into" the executable, Daniel Colascione, 2018/02/26
- Re: pdumping "into" the executable, Paul Eggert, 2018/02/26
- Re: pdumping "into" the executable, dancol, 2018/02/26
- Re: pdumping "into" the executable, dancol, 2018/02/26
- RE: pdumping "into" the executable, Drew Adams, 2018/02/26
- RE: pdumping "into" the executable, dancol, 2018/02/26
- Re: pdumping "into" the executable, John Wiegley, 2018/02/27
- Re: pdumping "into" the executable, Dmitry Gutov, 2018/02/27
- Re: pdumping "into" the executable, Stefan Monnier, 2018/02/27