Mercurial > emacs
changeset 22975:0f032f45a525
(unexec): Check for section names end and edata with no underscore.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 10 Aug 1998 02:35:54 +0000 |
parents | 6e0af7097929 |
children | f1457fc159c9 |
files | src/unexelf.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/unexelf.c Mon Aug 10 02:12:04 1998 +0000 +++ b/src/unexelf.c Mon Aug 10 02:35:54 1998 +0000 @@ -1068,7 +1068,9 @@ for (; symp < symendp; symp ++) if (strcmp ((char *) (symnames + symp->st_name), "_end") == 0 - || strcmp ((char *) (symnames + symp->st_name), "_edata") == 0) + || strcmp ((char *) (symnames + symp->st_name), "end") == 0 + || strcmp ((char *) (symnames + symp->st_name), "_edata") == 0 + || strcmp ((char *) (symnames + symp->st_name), "edata") == 0) memcpy (&symp->st_value, &new_bss_addr, sizeof (new_bss_addr)); }