# HG changeset patch # User Richard M. Stallman # Date 902716554 0 # Node ID 0f032f45a525be4e2ea62d5ed744d364102a42c1 # Parent 6e0af7097929afc955852b8a48076799b15bbd18 (unexec): Check for section names end and edata with no underscore. diff -r 6e0af7097929 -r 0f032f45a525 src/unexelf.c --- 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)); }