Make debug_sec_names static.
authorNick Clifton <nickc@redhat.com>
Mon, 11 Sep 2000 17:01:47 +0000 (17:01 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 11 Sep 2000 17:01:47 +0000 (17:01 +0000)
bfd/ChangeLog
bfd/elf.c

index ff7dcd4869ab3e8d3ca9745cbe150203beab3b94..6e331ac4c31b170992d7234291486a96563c8c56 100644 (file)
@@ -1,3 +1,8 @@
+2000-09-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * elf.c (_bfd_elf_make_section_from_shdr): Make debug_sec_names
+       static.
+
 2000-09-10  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
 
        * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Emit 8 NULs for
index 6f732f81831072a32655e80c1021241a8169c351..fea846dc66a67de1395568d77558644574311fd1 100644 (file)
--- 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.",