From: Paul Eggert <eggert@cs.ucla.edu>
To: Alan Modra <amodra@gmail.com>
Cc: 20614@debbugs.gnu.org
Subject: bug#20614: [PATCH 0/8] ELF unexec (bug#20614)
Date: Sun, 8 Nov 2015 10:07:42 -0800 [thread overview]
Message-ID: <563F8F6E.20900@cs.ucla.edu> (raw)
In-Reply-To: <20151104223522.GI25915@bubble.grove.modra.org>
[-- Attachment #1: Type: text/plain, Size: 441 bytes --]
Alan Modra wrote:
> IBM legal get back to me to say they believe IBM's FSF copyright
> assignment letter does cover contributions to EMACS.
This should be enough. I installed your patch into Emacs master, with one minor
fixup (attached) to pacify './configure --enable-gcc-warnings'.
Petr, can you please verify that this fixes the bug for you? If so, I can mark
the bug as fixed in our database.
Thanks again for fixing the bug, Alan.
[-- Attachment #2: 0001-src-unexelf.c-NEW_PROGRAM_H-Remove-unused-macro-Bug-.patch --]
[-- Type: text/x-diff, Size: 1194 bytes --]
From fc4d0bb842509ce81d2dfe2dec1f7fdbef728531 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Sun, 8 Nov 2015 09:36:14 -0800
Subject: [PATCH] * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro
(Bug#20614).
---
src/unexelf.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/unexelf.c b/src/unexelf.c
index 85ed934..c10c7f2 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -208,8 +208,6 @@ entry_address (void *section_h, ptrdiff_t idx, ptrdiff_t entsize)
(*(ElfW (Shdr) *) entry_address (new_section_h, n, new_file_h->e_shentsize))
#define OLD_PROGRAM_H(n) \
(*(ElfW (Phdr) *) entry_address (old_program_h, n, old_file_h->e_phentsize))
-#define NEW_PROGRAM_H(n) \
- (*(ElfW (Phdr) *) entry_address (new_program_h, n, new_file_h->e_phentsize))
typedef unsigned char byte;
@@ -250,7 +248,7 @@ unexec (const char *new_name, const char *old_name)
ElfW (Phdr) *old_bss_seg, *new_bss_seg;
ElfW (Addr) old_bss_addr, new_bss_addr;
ElfW (Word) old_bss_size, new_data2_size;
- ElfW (Off) old_bss_offset, new_data2_offset;
+ ElfW (Off) old_bss_offset, new_data2_offset;
ptrdiff_t n;
ptrdiff_t old_bss_index;
--
2.1.0
next prev parent reply other threads:[~2015-11-08 18:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-02 1:53 [PATCH 0/8] ELF unexec (bug#20614) Alan Modra
2015-11-02 3:40 ` Eli Zaretskii
2015-11-02 4:00 ` bug#20614: " Paul Eggert
2015-11-02 4:07 ` Paul Eggert
2015-11-04 22:35 ` Alan Modra
2015-11-05 0:31 ` John Wiegley
2015-11-05 22:44 ` Richard Stallman
2015-11-08 18:07 ` Paul Eggert [this message]
2016-02-23 10:33 ` bug#20614: " Lars Ingebrigtsen
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=563F8F6E.20900@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=20614@debbugs.gnu.org \
--cc=amodra@gmail.com \
/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.