# HG changeset patch # User Richard M. Stallman # Date 762068430 0 # Node ID cff556bf85e8e95b0c9cfaa9b4ebf3fb2b2b2a26 # Parent 0b144d967f30e894d3a3b0df5f3a2db28bc2e43b (ELF_BSS_SECTION_NAME): New macro (config.h may override). (unexec): Use it. diff -r 0b144d967f30 -r cff556bf85e8 src/unexelf.c --- a/src/unexelf.c Thu Feb 24 05:34:16 1994 +0000 +++ b/src/unexelf.c Thu Feb 24 05:40:30 1994 +0000 @@ -426,6 +426,10 @@ extern void fatal (char *, ...); #endif +#ifndef ELF_BSS_SECTION_NAME +#define ELF_BSS_SECTION_NAME ".bss" +#endif + /* Get the address of a particular section or program header entry, * accounting for the size of the entries. */ @@ -535,7 +539,7 @@ old_section_names + OLD_SECTION_H (old_bss_index).sh_name); #endif if (!strcmp (old_section_names + OLD_SECTION_H (old_bss_index).sh_name, - ".bss")) + ELF_BSS_SECTION_NAME)) break; } if (old_bss_index == old_file_h->e_shnum)