From: Nick Clifton Date: Mon, 11 Sep 2000 17:01:47 +0000 (+0000) Subject: Make debug_sec_names static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dbf481172fcc6a37508e7c1c45da7eb68c1fdf4e;p=binutils-gdb.git Make debug_sec_names static. --- 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.",