OSDN Git Service

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 ff7dcd4..6e331ac 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 6f732f8..fea846d 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.",