diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ff7dcd4869a..6e331ac4c31 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2000-09-11 Michael Sokolov + + * elf.c (_bfd_elf_make_section_from_shdr): Make debug_sec_names + static. + 2000-09-10 Michael Sokolov * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Emit 8 NULs for diff --git a/bfd/elf.c b/bfd/elf.c index 6f732f81831..fea846dc66a 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -384,7 +384,7 @@ _bfd_elf_make_section_from_shdr (abfd, hdr, name) /* The debugging sections appear to be recognized only by name, not any sort of flag. */ { - const char *debug_sec_names [] = + static const char *debug_sec_names [] = { ".debug", ".gnu.linkonce.wi.",