From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Preview: portable dumper Date: Fri, 16 Feb 2018 17:22:20 +0200 Message-ID: <831shldknn.fsf@gnu.org> References: <4c5d130f-d8ae-d109-613d-0df13d8c40e4@cs.ucla.edu> <83f00146-dc4f-1048-73b5-c41ff942058b@dancol.org> <83mv09e3qk.fsf@gnu.org> <62c0d971-bc9e-749d-84ba-a206ffb49409@dancol.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1518794490 2949 195.159.176.226 (16 Feb 2018 15:21:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Feb 2018 15:21:30 +0000 (UTC) Cc: alan@idiocy.org, eggert@cs.ucla.edu, angelo.g0@libero.it, emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 16 16:21:26 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emhos-0007UH-TE for ged-emacs-devel@m.gmane.org; Fri, 16 Feb 2018 16:21:03 +0100 Original-Received: from localhost ([::1]:59868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emhqu-00027Y-S9 for ged-emacs-devel@m.gmane.org; Fri, 16 Feb 2018 10:23:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emhqE-00027E-AP for emacs-devel@gnu.org; Fri, 16 Feb 2018 10:22:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emhqA-0003Ls-Ca for emacs-devel@gnu.org; Fri, 16 Feb 2018 10:22:26 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emhqA-0003Lm-9F; Fri, 16 Feb 2018 10:22:22 -0500 Original-Received: from [176.228.60.248] (port=2434 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1emhq9-0006tT-Pu; Fri, 16 Feb 2018 10:22:22 -0500 In-reply-to: <62c0d971-bc9e-749d-84ba-a206ffb49409@dancol.org> (message from Daniel Colascione on Fri, 16 Feb 2018 07:02:33 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:222816 Archived-At: > Cc: eggert@cs.ucla.edu, alan@idiocy.org, angelo.g0@libero.it, > emacs-devel@gnu.org > From: Daniel Colascione > Date: Fri, 16 Feb 2018 07:02:33 -0800 > > Just concatenating bytes to the end of an executable doesn't break that > executable, at least not on any platform I know about. binutils keeps > working. No special section required. Strip does remove the extra data > though, unfortunately I'm guessing similar problems will happen with objcopy and objdump.